Build a module of SWIG interfaces in a single invocation

May 11, 2018
4:19 p.m.
Dear Distutils SIG, I am asking about the best way to build a module, when the sources are SWIG interface files (*.i). SWIG is supposed to generate the Python scripts. I can build the module by running build_ext and then build_py, but I cannot build the module with build because it runs build_py and build_ext in the wrong order, since the Python scripts don't exist until build_ext has run. I have asked this on StackOverflow, here: https://stackoverflow.com/questions/50239473/building-a-module-with-setuptoo..., but my question attracted very little interest there. Thanks for the help, Clifford Simon
2485
Age (days ago)
2485
Last active (days ago)
0 comments
1 participants
participants (1)
-
Clifford Simon