Public bug reported:

Binary package hint: python-setuptools

Upstream bug report:

http://bitbucket.org/tarek/distribute/issue/142/easy_install-will-
install-a-package-that-is-already

This causes compatibility problems between distribute and setuptools,
and shows up when using virtualenv, which uses distribute by default (as
does our python-setuptools package).  From distutils-sig, here's a
reproducible test case for Lucid:

Sure. Create a dummy setup.py:

from setuptools import setup
setup(name="foo", install_requires=["somepkg"])

with "somepkg" any package already installed on ubuntu, and then:

virtualenv tmp
source tmp/bin/activate
python setup.py install

You will see that somepkg is downloaded and installed even though it
is already there. It happened for me for any value of somepkg,
including twisted, django, simplejson.

As for using setuptools instead of distribute in virtualenv, I cannot
see the option on my current machine (with lucid virtualenv), which is
weird because I clearly remember having seen it at work. I will check
there to see what's different,

** Affects: python-setuptools (Ubuntu)
     Importance: High
     Assignee: Barry Warsaw (barry)
         Status: New

** Changed in: python-setuptools (Ubuntu)
   Importance: Undecided => High

** Changed in: python-setuptools (Ubuntu)
     Assignee: (unassigned) => Barry Warsaw (barry)

** Changed in: python-setuptools (Ubuntu)
    Milestone: None => ubuntu-10.04.1

-- 
easy_install will install a package that is already there
https://bugs.launchpad.net/bugs/601040
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