[Distutils] why would you ever need to specify setuptools as a dependency?
tseaver at palladion.com
Tue Oct 13 19:31:24 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hanno Schlichting wrote:
> On Fri, Oct 9, 2009 at 1:07 PM, Chris Withers <chris at simplistix.co.uk> wrote:
>> Reinout van Rees wrote:
>>> - Do my libraries have to list a dependency on distribute or on
>>> Everything zopish has a 'setuptools >= 0.6c9' in it.
>> They shouldn't, unless you only require setuptools after your package is
>> installed and don't use it in your setup.py, which seems unlikely.
>> If you need it in your setup.py, what's the point of specifying it? You
>> would have had to use it by the time you specify the requirement!
> I assume most packages Reinout uses (like all zope.* packages) use
> namespace packages. So they actually do depend during runtime on the
> pkg_resources module, which happens to be available from either the
> distribute or setuptools distribution. So one of them should be
> specified in install_requires.
Why? Nobody will check / enforce / understand what 'install_requires'
even means except setuptools / distribute.
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.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Distutils-SIG