[Distutils] How to force installing setuptools instead of distribute ?
cournape at gmail.com
Fri Jul 2 00:36:23 CEST 2010
On Fri, Jul 2, 2010 at 3:30 AM, Barry Warsaw <barry at python.org> wrote:
> On Jul 02, 2010, at 12:53 AM, David Cournapeau wrote:
>>On Fri, Jul 2, 2010 at 12:23 AM, Barry Warsaw <barry at python.org> wrote:
>>> On Jul 01, 2010, at 04:12 PM, David Cournapeau wrote:
>>>>Hm, that's a bit different from my understanding, but that's a bit
>>>>irresponsible of Ubuntu to provide distribute if it does not get at
>>>>least the bug fixes which go into setuptools. Maybe there is a
>>>>miscommunication here, dunno. I thought the point of distribute was
>>>>to get bug fixes that setuptools maintainers did not take care of.
>>> Please submit a bug report here:
>>> Feel free to assign it to me (barry) or just send me the bug # and
>>> I'll take a look at it.
>>This is issue 142 on bitbucket (distribute fork on Tarek account), and
>>there was a similar bug on setuptools issue tracker (submitted by
>>Zooko as well), but cannot find it ATM.
>>thanks for looking into this,
> Maybe it's just me, but I'm having a hard time understanding and reproducing
> this bug report on Ubuntu. Do you have a reproducible test case that I can
> use to see the problem?
Sure. Create a dummy setup.py:
from setuptools import setup
with "somepkg" any package already installed on ubuntu, and then:
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,
More information about the Distutils-SIG