[Python-Dev] Python and the Linux Standard Base (LSB)

Phillip J. Eby pje at telecommunity.com
Thu Nov 30 06:34:33 CET 2006

At 05:10 AM 11/30/2006 +0000, glyph at divmod.com wrote:
>On 04:36 am, pje at telecommunity.com wrote:
> >easy_install uses the standard distutils configuration system, which means
> >that you can do e.g.
>Hmm.  I thought I knew quite a lot about distutils, but this particular 
>nugget had evaded me.  Thanks!  I see that it's mentioned in the 
>documentation, but I never thought to look in that section.  I have an 
>aversion to .ini files; I tend to assume there's always an equivalent 
>Python expression, and it's better.  Is there an equivalent Python API in 
>this case?

Well, in a setup.py there's an options or some such that can be used to 
provide effective command-line option overrides in-line, but that doesn't 
help for systemwide default configurations, like the files I 
mentioned.  It's effectively only a substitute for setup.cfg.

More information about the Python-Dev mailing list