El 14 Aug 2008, a las 16:49 , Tres Seaver escribió:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chris Withers wrote:
Philipp von Weitershausen wrote:
El 14 Aug 2008, a las 13:24 , Chris Withers escribió:
Philipp von Weitershausen wrote:
pkg_resources (part of setuptools, documented on the setuptools
homepage) abstract the access to data inside packages, no matter
whether they're in a zipped egg or not.
Yeah, but it's the actual contents of setup.py that I want to show
given that this is supposed to be documentation ;-)
setup.py is never part of an .egg file or directory.
um? then what *is* it part of? ;-)
The source distribution (the .tar.gz file made by running 'setup.py
sdist').
Eggs are binary distributions (made by running 'setup.py bdist_egg').
As Phillip Eby confirmed several times, .egg files are meant to be an
installation format, not a distribution format (cf. [1]). Note that I
distinguish .egg files from Eggs-the-concept (development eggs are
eggs even though they don't come in .egg files, and I consider source
distributions eggs as well if they have a setup.py and use setuptools).
[1]
http://philikon.wordpress.com/2008/06/26/is-there-a-point-to-distributing-egg-files/#comment-34
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig