Define macro when invoking setup.py

Jason jason.heeris at gmail.com
Mon Nov 8 22:04:13 EST 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