[issue37247] swap distutils build_ext and build_py commands to allow proper SWIG extension installation

Jeroen Demeyer report at bugs.python.org
Wed Jun 12 08:36:15 EDT 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> SWIG creates the files correctly in the build_ext command

One could argue that running SWIG should be an entirely different step, not part of build_ext.

I'm afraid that your idea of swapping build_ext and build_py will be rejected because it has a high chance of breaking stuff: we have always done build_py before build_ext and packages probably rely on this order.

----------
nosy: +jdemeyer

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37247>
_______________________________________


More information about the Python-bugs-list mailing list