-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Pip picks up .egg-info from sub-folders in -e mode #5466
Comments
Hey @polwel! Thanks for filing this issue. Could you provide the output of |
I am currently out of office, I will get back to you in the coming days. |
Sure thing. No hurries. :) |
Here you go: output.txt. |
Does pip 9.0.3 also behave in the same way? |
Yes, it also occurs with pip 9.0.3. |
The problem is using the "src" directory layout. Currently we determine where the generated Does anyone know why we aren't passing an explicit |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Also note that the feature should be available in pip 20.1b1, or 20.1 which is schedule to be released on 28th April. |
Environment
Description
When I try to install my own package in
-e
mode, pip instead tries to install the dependencies of another package in a sub-folder of the current directory.Pip behaves fine in non-development mode.
Expected behavior
Pip should resolve the correct package obviously.
How to Reproduce
I have a minimal example to demonstrate the issue.
Run
pip -e .
, and pip will installnumpy
, instead ofmypkg
andattrs
.Additional info
It seems that pip picks up an
*.egg-info
that happens to be located exactly one level below the current directory. It then tries to resolve the dependencies indicated there. In my case, I grabbed theegg-info
frompyqtgraph
.My project does not use the usual directory layout (where
setup.py
is located next to a folder named after the package, containing the source code). I don't see how this would be an issue though.The text was updated successfully, but these errors were encountered: