[Distutils] [Python Language Summit] Distutils / Packaging survey
Tres Seaver
tseaver at palladion.com
Thu Jan 29 23:50:08 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ben Finney wrote:
> Josselin Mouette <joss at debian.org> 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 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
iD8DBQFJgjKg+gerLs4ltQ4RAicLAKC0/IJnCA7dQqXrE58mQpLHNyJE9wCfQ3LO
nW98d8KkYqszyQNUAGOnsik=
=JHM5
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list