Distutils: compilation of generated code.
Thomas Heller
theller at python.net
Tue Feb 24 10:49:02 EST 2004
Jacek Generowicz <jacek.generowicz at cern.ch> writes:
> I am using a Python program to generate the C++ source code of an
> extension module in a package which is managed by distutils. What's
> the best way to instruct distutils to re-generate the code before
> compiling it, if and only if the generation program is newer than the
> generated code ?
subclass distutils build_ext command.
Thomas
More information about the Python-list
mailing list