Define macro when invoking setup.py

Jason jason.heeris at gmail.com
Tue Nov 9 04:04:13 CET 2010


On Nov 9, 10:56 am, Jason <jason.hee... at gmail.com> wrote:
> But can they be selected or set from the command line, so I can do,
> say, "setup.py build -DDEBUG=1"?

Just answered my own question: there's an option for "build_ext" (NOT
"build") that allows this.

Thanks,
Jason



More information about the Python-list mailing list