-
-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow stubs-only mixed project layout #914
Conversation
✅ Deploy Preview for maturin-guide ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
So for my use case, I just want to mimic the standard experience of a Python project with multiple submodules (
I don't understand what this entails. I'm guessing it means there's something that I can't do if I use this approach? |
This comment was marked as resolved.
This comment was marked as resolved.
So how does one import the package then? |
Never mind, I think that's a problem with my IPython setup, using |
Nice, and with this approach, do things like |
I think it should, note that you need to add a |
Sounds awsome! The last thing I'm curious about is why we're referring to a mixed project layout. In my head this is just a pure Rust layout but with a directory of stub files instead of a single one |
Using a mixed project layout is the simplest solution, and we actually generate a mixed project layout for pure Rust project internally anyway. (See #558) |
Fixes #792
Note that this only allows it to build, it doesn't re-export the Rust module to top module level as in
maturin/src/module_writer.rs
Lines 646 to 658 in 4f92d4d
@kevinheavey I'd love to know more about your requirements.