Since updating the the most recent setuptools
(6.0.1) I get an warning (yellow)
Could not find .egg-info directory in install record for ...
for all the packages I've updated. For example, when updating Twisted I get
Could not find .egg-info directory in install record for Twisted from https://pypi.python.org/packages/source/T/Twisted/Twisted-14.0.2.tar.bz2#md5=.... in /Library/Python/2.7/site-packages
The package updates seems to succeed, however.
What does this warning mean? What can I do to respond to it?
egg-info format: a file or directory placed adjacent to the project's code and resources, that directly contains the project's metadata.
egg file is a distribution format for Python packages. It's just an alternative to a source code distribution or Windows exe . But note that for pure Python , the . egg file is completely cross-platform.
Rule of thumb: do not commit generated information. Check in the source only. If you are using eggs from VC, then you have already installed these as development eggs; just re-run setup.py after updating the working copy.
For me upgrading setuptools
did not work, what did work was updating pip:
pip install --upgrade setuptools pip
(I've included setuptools too to handle both problems)
This appears to have been a bug introduced in 6.0.1, fixed in setuptools
6.0.2.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With