[Distutils] Swig build_py ran before build_ext
jari.pennanen at gmail.com
Mon Dec 21 23:16:44 CET 2009
I have old/new problem, once mentioned in 2004 at this same mailing
list ( http://mail.python.org/pipermail/distutils-sig/2004-March/003807.html
) but surely that implementation is bad... But the problem persists, I
use SWIG and had to Google all over to only find out build order
cannot be changed.
Someone should implement build_order keyword argument to setup, e.g.:
setup(..., build_order=['build_ext', 'build_py'])
If some orders are missing, like in above example: build_clib,
build_scripts, they would be appended as last. Anyways, the point is
make the build order customizable through setup keyword.
More information about the Distutils-SIG