6

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!

4

0 回答 0