Binary package hint: python-setuptools
The .egg-info file in python-setuptools is named:
/usr/lib/python2.6/dist-packages/setuptools.egg-info
Most .egg-info files are named something with their version number in it, such as:
/var/lib/python-support/python2.5/GnuPGInterface-0.3.2.egg-info
/var/lib/python-support/python2.5/cups-1.0.egg-info
/var/lib/python-support/python2.5/mercurial-1.1.2.egg-info
/var/lib/python-support/python2.5/python_debian-0.1.12ubuntu2.egg-info
/var/lib/python-support/python2.5/pyusb-0.4.1.egg-info
I have written some code for the stdeb tool (http://github.com/astraw/stdeb/tree/master ) which parses the filenames in search of the version numbers, and this code works for all packages that I have tried except for setuptools. Also I know that a new version of distutils is being developed, and I think there was some discussion about the possibility that it could use stat to learn the version numbers of multiple packages at once by inspecting the filenames of their .egg-infos. I don't know if that is the plan for the new distutils, but having all Ubuntu packages be uniform in this way seems like it wouldn't hurt and might help. If python-setuptools needs to have a versionless .egg-info filename for some reason, then perhaps we could add a symlink from setuptools-0.6c9.egg-info to setuptools.egg-info?
Thanks!
Regards,
Zooko
Hey folks, I saw today that this bug is blocking me from using stdeb (http:// github. com/astraw/ stdeb/tree/ master ) to automatically generate a .dsc for my pycryptopp project on Ubuntu Jaunty. Why is the setuptools .egg-info file different from what the normal distutils or setuptools build of a Python package would produce? How hard is it to change it to be "setuptools- 0.6c9.egg- info" instead? Or, if there's some reason not to do that, then how about adding a symlink?
Thanks!