On Wed, Mar 24, 2010 at 10:44 PM, Carl Meyer <c...@dirtcircle.com> wrote:
> -----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.

BTW, That makes me wonder how hard it would be to make it use a plain
"python setup.py install" call
instead, to remove the easy_install dependency ?  Since it could
simply loop into each dependency

I am thinking about a version of pip that would be built on the top of
distutils2,

>
> 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-----
> _______________________________________________
> Distutils-SIG maillist  -  distutils-...@python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>



-- 
Tarek Ziadé | http://ziade.org
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to