Multiple .egg-info Directories in setup.py Script

See original GitHub issue

Environment

  • 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:closed
  • Created 3 years ago
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
pfmoorecommented, May 7, 2020

OK, so one setup.py building two projects? I’m pretty sure I’d consider that out of scope for pip.

0reactions
sbidoulcommented, Jun 1, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found