-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/17/2012 01:01 PM, Jim Fulton wrote: > On Sun, Jun 17, 2012 at 12:24 PM, Tres Seaver <[email protected]> > wrote: >> You can avoid executing 'setup.py' by looking for 'requires.txt' in >> the egg-info directory within the sdist. > > Except that sdists don't have egg-info directories, presumably > because egg-info can depend on the environment the project is > installed in. For example, it's not unheard of for dependencies to > depend on the Python version (e.g. json). sdists do have egg-info:: $ svn co http://svn.zope.org/repos/main/zope.interface/trunk xxx ... $ cd xxx $ /path/to/python setup.py sdist ... $ tar tzf dist/zope.interface-4.0.2dev.tar.gz | grep requires zope.interface-4.0.2dev/src/zope.interface.egg-info/requires.txt Now, that doesn't mean that the contents of requires.txt might not be different when installed on a different platform or Python version, but for the vast majority of projects (/me waves hands), this works just fine. Tres. - - -- =================================================================== Tres Seaver +1 540-429-0999 [email protected] 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/eEH0ACgkQ+gerLs4ltQ42vgCeNAA0yNZB9YrZTGajI+HlXQJK 5LcAoLS+7KjDMxfWf6S0ncLu0SKxQSZh =r7TG - -----END PGP SIGNATURE----- - -- =================================================================== Tres Seaver +1 540-429-0999 [email protected] 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/eEXwACgkQ+gerLs4ltQ5w+gCdHRlCLTL/vEASnz9JLxkJAY+K e58An3soJ41FEQykuNdYdpeXPM+hqT9W =pVB1 -----END PGP SIGNATURE----- _______________________________________________ Catalog-SIG mailing list [email protected] http://mail.python.org/mailman/listinfo/catalog-sig
