[Catalog-sig] Dependencies

Tres Seaver tseaver at palladion.com
Sun Jun 17 19:17:26 CEST 2012


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

On 06/17/2012 01:02 PM, Donald Stufft wrote:
> On Sunday, June 17, 2012 at 12:24 PM, Tres Seaver wrote:

> You can avoid executing 'setup.py' by looking for 'requires.txt' in
> the egg-info directory within the sdist.
> 
>> This will only include dependencies required for the system that
>> wrote the package. It won't include dependencies required on other
>> systems (say via an if statement for windows platform).
> 
>> Hence the impossible to do it completely.

Surely it isn't perfect, but it would be correct for most packages on
PyPI today, and "close enough" to be useful even for the rest.


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 Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/eESYACgkQ+gerLs4ltQ6ooQCeLWpShxnb0Luw6qlfOmh2bxaH
L1UAn36lE5618yTTONvVFOtAMZSv0ytx
=/QSx
-----END PGP SIGNATURE-----



More information about the Catalog-SIG mailing list