I have a medium-sized C++/Python project that requires external dependencies and tools to get compiled. Namely, to interact with Qt's MOC compiler among other stuff.
This project produces a library, header files and a python extension. I'd like to leverage from python setuptools to distribute and build this project. The issue is the build bits from distutils aren't satifactory for our project needs. We need things like parallel-builds and external dependence detection.
Question: What is the best way to do this? Would it be possible, for example, to write a setup.py
that delegates the build to waf? A working example (even if summarized) is a plus!
build.recurse()
and for each of your projects a wscript in the project "root" folder. Unfortunately, I am not very familiar with setuptools nor with distutils. – Tori