python setup.py: how to override a setup.cfg value ?

Michael Ströder michael at stroeder.com
Fri Aug 24 02:27:12 EDT 2007


Chris Shenton wrote:
> I'm building python-ldap and need to change values of library and
> include paths that are in the setup.cfg file.  This is an automated
> build (using "buildit") so I'd prefer not to have edit the .cfg by hand,
> with sed, or even with buildit's Substitute().

Almost everything in python-ldap's setup.cfg is subject to local system
configuration. The default shipped in source distribtion has to be
tweaked on most systems (examples: Build/setup.cfg.*). Therefore I don't
understand why you don't just provide your own setup.cfg reflecting your
OpenLDAP/OpenSSL/Cyrus-SASL/Kerberos installation.

I don't know anything about "buildit" though.

Ciao, Michael.



More information about the Python-list mailing list