[Distutils] Comments on PEP 426

Vinay Sajip vinay_sajip at yahoo.co.uk
Sat Sep 7 19:33:27 CEST 2013


Carl Meyer <carl <at> oddbird.net> writes:

> Sidenote, and already mentioned by MAL upthread, but --record is a
> distutils feature, not a setuptools feature, so this is not the reason
> pip forces setuptools.
> 
> I think the actual reason is so that pip can have a uniform way to
> access metadata (including dependency metadata that only setuptools has)
> by running "setup.py egg-info", which is setuptools-only. (It also means

But if a distribution uses only distutils, it won't be declaring any
dependency metadata through install_requires=, setup_requires= etc. or any
other kwarg recognised only by setuptools - so where would the dependency
information come from? It seems like the egg_info command is the sole
reason, or did I miss something?

Regards,

Vinay Sajip



More information about the Distutils-SIG mailing list