-
Notifications
You must be signed in to change notification settings - Fork 54
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
Wheel package auto detection / editable install isuee #935
Comments
What's the |
Personally, I'd move |
Ah, It's likely too late to change the auto-detection behavior, but I'd prefer
You're absolutely right. I didn't think of that side effect. This also explains why you suggest |
You should be really careful about mismatching names. It may come back to haunt you like pypa/packaging-problems#818. There's no general solution for an import name fight. |
The mismatching-name concern, duly noted! Thank you for the clarification! I'm closing the issue now. |
In #932, @henryiii mentioned that
I cannot seem to get this feature to work. My project file structure looks like this:
The root
CMakeLists.txt
includes the only install line:According to the documentation,
src/mypkg
should be automatically picked up as thewheel-install-dir
and by @henryiii's comment above,__init__.py
should be automatically included in the installation, Afterpip -e .
install, I should be able to doimport mypkg.core
but getsModuleNotFoundError
.pip
installed the.pyd
file insite-packages/mypkg
directory (no__init__.py
) as well as_myproject_editable.*
files in thesite-packages
directory.The text was updated successfully, but these errors were encountered: