I am trying to use pbr for a python package that has an extension module that uses pybind11. There is a pybind11 cmake example repo showing how to use cmake to build an extension module from setup.py. My question is: How can I incorporate this custom extension module build into a pbr-based setup.py setup.cfg? In particular, how do I use the custom extension classes, CMakeBuild and CMakeExtension, from setup.cfg?
Asked
Active
Viewed 107 times
1
-
Did you ever manage to do this? I am facing similar issues where setup.py just behaves unexpectedly, when I use pbr with the classes you mentioned. – NOhs Jun 16 '19 at 15:59
-
No, I gave up. I submitted a [pbr issue](https://bugs.launchpad.net/pbr/+bug/1737664) that was turned into a wishlist. Since what I was doing seemed unconventional for pbr, I decided to not try to shoehorn pbr into my efforts. – Phil Jun 17 '19 at 13:37