[Distutils] [Python-Dev] At least one package management tool for 2.7
Sridhar Ratnakumar
sridharr at activestate.com
Wed Mar 24 22:30:15 CET 2010
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
$
-srid
More information about the Distutils-SIG
mailing list