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

Carl Meyer carl at dirtcircle.com
Wed Mar 24 13:12:47 CET 2010


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

Hi Darren,

Darren Dale wrote:
[snip]
> Thanks for responding, but I'm still wondering if pip can install
> dependencies recursively.

Yes, it can and does. As Tarek said, pip uses the same install_requires
metadata and it treats it the same way as easy_install, including
recursive install of dependencies.

This is mostly orthogonal to the requirements-file feature you
mentioned, which is a way to freeze a specific known "working set" of
package versions for a particular purpose. IMO requirements files are
most useful (in terms of avoiding unexpected breakage) when they freeze
the entire set of dependencies, but even when installing from a
requirements file, pip will automatically (and recursively) pursue any
needed install_requires dependencies that are not present in the
requirements file.

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

iEYEARECAAYFAkuqAb8ACgkQ1j/fhc23WEBqDgCgvdOkqBtBjgJHdak39oUuMEW9
O6oAoL03Ze5Jd7FaGWJr2wpuzrp5Q2h7
=oosr
-----END PGP SIGNATURE-----


More information about the Distutils-SIG mailing list