I'm building python-ldap and need to change values of library and\ninclude paths that are in the setup.cfg file. This is an automated\nbuild (using "buildit") so I'd prefer not to have edit the .cfg by hand,\nwith sed, or even with buildit's Substitute().\n\nI'd like to be able to do something like I'd do with "make", specify a\nvalue on the command line like:\n\n make -Dprefix=/usr/local\n\nor in this case\n\n python setup.py -Dlibs="ldap lber" build [Does NOT work]\n\nI cannot see how to do this from the -\-help or from googling. \nThe closest I've gotten is to do:\n\n python setup.py setopt -\-command=_ldap -\-option=libs -\-set-value="ldap lber"\n\nbut that overwrites the python.cfg, a bit rude it seems to me. \n\nAm I missing something? is there a way to override a .cfg value on the\ncommand line while running a setup.py command like "build" or "install"?\n\nThanks.