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

Carl Meyer carl at dirtcircle.com
Wed Mar 24 22:44:21 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Darren,

Darren Dale wrote:
> 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.

Pip asks setuptools not to install dependencies because pip has already
handled them. (Pip does some things differently from easy_install; for
instance it downloads all dependencies and runs "setup.py egg_info" on
each before actually installing any of them, to reduce the chances that
a broken dependency leaves your system in an inconsistent state). Pip
only shells out to setuptools for the actual installation of each
individual package, once it has already resolved dependencies and
downloaded all of them.

Carl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuqh7UACgkQ1j/fhc23WEASjgCeMd7q515GW1k9evrjrkUeensN
Fz8AoILeDhVJb8AETL9Bq8R0jzBXsBMa
=xzjl
-----END PGP SIGNATURE-----


More information about the Distutils-SIG mailing list