[Distutils] PEP439 and backward compat / easy_install / distlib
Tres Seaver
tseaver at palladion.com
Tue Mar 26 16:21:20 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/26/2013 05:28 AM, Ronald Oussoren wrote:
>
> On 25 Mar, 2013, at 19:16, PJ Eby <pje at telecommunity.com> wrote:
>>
>>
>> Also, as far as detecting the need for setuptools, I think that can
>> be done just by noticing whether the PKG-INFO included in an sdist
>> is metadata 2.0 or not. If it is, then setuptools should be
>> explicitly declared as a build-time dependency, otherwise it's not
>> needed. If it's an older metadata version, then you probably need
>> setuptools.
>
> Is it even necessary to automaticly install setuptools?
> Setuptools-using package are supposed to use ez_setup.py, or
> distribute_setup.py for distribute, to ensure that the setuptools
> package is available during setup.
No, they are not. That usage was for bootstrapping in an era when
setuptools was not widely presetn. Most packages have *removed* those
files today.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlFRvPAACgkQ+gerLs4ltQ6XhgCgknMlM9drnL5KJKSvoEcuoKqw
60gAn1QyyUersaUdKXbJrpnJuu3AXkzz
=i63/
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list