Hello everyone, I'm affected by this bug on ubuntu 10.10
I was looking at the sources for the python-setuptools package and I found
something interesting:
if you take a look at the diff file included you can see that
setuptools/command/install_egg_info.py has been modified
adding the following code to the finalize_options method:
+ if self.install_layout:
+ if not self.install_layout.lower() in ['deb']:
+ raise DistutilsOptionError(
+ "unknown value for --install-layout")
+ basename = basename.replace('-py%s' % pkg_resources.PY_MAJOR, '')
+ elif self.prefix_option or 'real_prefix' in sys.__dict__:
+ # don't modify for virtualenv
+ pass
+ else:
+ basename = basename.replace('-py%s' % pkg_resources.PY_MAJOR, '')
The version string is always replaced, except when you are in a virtualenv
(explore site-packages in your virtualenv).
During the uninstall process this kind of replacing is not made in any way, of
course.
I'm a little bit confused... anyway, I hope this can help to solve the
problem!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/725178
Title:
egg-info directory name lacks Python version string
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs