I'd like to be able to do something like I'd do with "make", specify a
value on the command line like:
make -Dprefix=/usr/local
or in this case
python setup.py -Dlibs="ldap lber" build [Does NOT work]
I cannot see how to do this from the --help or from googling.
The closest I've gotten is to do:
python setup.py setopt --command=_ldap --option=libs --set-value="ldap lber"
but that overwrites the python.cfg, a bit rude it seems to me.
Am I missing something? is there a way to override a .cfg value on the
command line while running a setup.py command like "build" or "install"?
Thanks.
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.