[Distutils] RFC: Updating PEP 345

Tres Seaver tseaver at palladion.com
Sun Apr 12 18:06:20 CEST 2009


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

zooko wrote:
> On Apr 11, 2009, at 8:13 AM, Jim Fulton wrote:
> 
>> fwiw, I'd also prefer calling the PKG-INFO field Install-Requires.
> 
> +1 from me.
> 
> I was just browsing pypi, and there seem to be many tools out there  
> which are designed to work with the current egg metadata.  The fewer  
> unnecessary name-changes we impose, the more likely the authors of  
> all those tools will update their tools to interoperate with the new  
> Distutils.

None of them are working with any dependency-based PKG-INFO fields,
becuase there is no useful information in those fields.  Some of them
may be working with arguments passed to 'setup()' (e.g., by running
'egg-info' in a tempdir and parsing the setuptools-specific files), but
such tools will have to be changed anyway (e.g., to use the new PKG-INFO
fields instead of parsing requries.txt).

> Speaking of which, the proposed 'build_requires' seems to be somewhat  
> similar to setuptools's 'setup_requires'.  The difference seems to be  
> that 'build_requires' is intended for non-Python tools and  
> 'setup_requires' currently works only for Python packages  
> ("distributions").

Correct.


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.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ4hF8+gerLs4ltQ4RApg/AKCQy7YFO0qj2e8dLIwbdP47NOzG7ACgkLIL
ImQeogWLYTUUAjqFvDUkKZQ=
=2Ukp
-----END PGP SIGNATURE-----



More information about the Distutils-SIG mailing list