[Distutils] [Python-Dev] At least one package management tool for 2.7

Darren Dale dsdale24 at gmail.com
Wed Mar 24 22:41:11 CET 2010

On Wed, Mar 24, 2010 at 5:30 PM, Sridhar Ratnakumar
<sridharr at activestate.com> wrote:
> On 2010-03-24, at 2:04 PM, Darren Dale wrote:
>>>> Seeking clarification: how can pip recursively install dependencies
>>>> *and* keep Setuptools from resolving dependencies?
>>> Using the --no-deps option to setup.py
>> Amusing. Seriously though, how does pip determine the dependencies if
>> it is calling setup.py with arguments that prevent Setuptools from
>> resolving the dependencies? pip --help doesn't indicate a --no-deps
>> option, it sounds like pip is passing that option to setup.py under
>> the hood.
> "prevent setuptools from resolving the dependencies" actually means "Hey setutools, just install Foo into site-packages, but don't bother about its dependencies".
> Each installed package has a 'requires.txt' file that lists the dependencies of that package. pip presumably uses this file.
> $ cat ~/.local/lib/python2.6/site-packages/pylint-0.19.0-py2.6.egg-info/requires.txt
> logilab-common
> logilab-astng >= 0.19.2s
> $

Ok, I think I understand now. Thanks.


More information about the Distutils-SIG mailing list