-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ben Finney wrote: > Josselin Mouette <[email protected]> writes: > >> Le mercredi 28 janvier 2009 à 13:16 -0600, Ian Bicking a écrit : >>> As you mention, there would have to be some extension to >>> pkg_resources (or an equivalent library) to handle finding these >>> files at runtime. Getting a runtime in place is probably the >>> harder thing, as it is more intrusive for the upstream developers. >> As I have already explained in the previous discussion, this could >> easily be solved just like autoconf does, with an automatically >> generated config.py file that would hold all variables set at build >> time. > > I would recommend choosing (earlier rather than later) a different > name for that file. ‘config.py’ suggests rather the run-time > configuration for the program. > > Perhaps ‘setup_config.py’? Something that makes it clear that the > configuration is intended for the setup and installation, *not* the > running Python package.
I would argue against making it a .py file at all: make it an INI file, or something. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [email protected] 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 iD8DBQFJgjKg+gerLs4ltQ4RAicLAKC0/IJnCA7dQqXrE58mQpLHNyJE9wCfQ3LO nW98d8KkYqszyQNUAGOnsik= =JHM5 -----END PGP SIGNATURE----- _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
