Multiple .egg-info Directories in setup.py Script
See original GitHub issueEnvironment
- pip version: 20.1
- Python version: 3.7
- OS: macos 10.15
Description After upgrading to 20.1 pip errors out with developer installation in (venv setup). Downgrading to 20.0.2 solves it immediately so I guess something is not right with the new version.
Expected behavior
How to Reproduce
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -e <my-source-directory>
Output
ERROR: More than one .egg-info directory found in <temp-path>
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (10 by maintainers)
Top Results From Across the Web
Python packages and egg-info directories - Stack Overflow
This is a command from setuptools which doesn't actually install the egg, but makes it available site-wide. To do so, it creates an...
Read more >The Internal Structure of Python Eggs - Setuptools
Most of these files and directories are generated via “egg-info writers” during execution of the setuptools egg_info command, and are listed in the...
Read more >formats.txt - Python.org
Most of these files and directories are generated via "egg-info writers" during execution of the setuptools ``egg_info`` command, and are listed in the...
Read more >pip install — pip 10.0.0.dev0 documentation
For local projects, the “SomeProject.egg-info” directory is created relative to the project path. This is one advantage over just using setup.py develop ...
Read more >setuptools 3.8 - PyPI
The script will download the appropriate .egg file and install it for you. ... scripts and associated executables installed to the Python scripts...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK, so one
setup.pybuilding two projects? I’m pretty sure I’d consider that out of scope for pip.@vkosuri setup.py in python-kadmin attempts to package two distributions: python-kadmin and python-kadmin-local. As explained above, this is unsupported. A possible workaround (if the package cannot be updated) is to download it manually from PyPI then run
setup.py install.