Public bug reported:

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

** Affects: python-setuptools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
no version number in the .egg-info filename
https://bugs.launchpad.net/bugs/390965
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to