However, even if that were implemented I'm not sure the CMake classes could live in setup.py. setup() in pbr would be called from a different module that wouldn't have local access to those classes. I'm not sure if there's a way to reference custom classes from pbr. I would think there's some way to do it, but it would require some experimentation.
A few thoughts on this:
pbr supports all of the parameters except ext_modules: https:/ /github. com/openstack- dev/pbr/ blob/master/ pbr/util. py#L96
However, even if that were implemented I'm not sure the CMake classes could live in setup.py. setup() in pbr would be called from a different module that wouldn't have local access to those classes. I'm not sure if there's a way to reference custom classes from pbr. I would think there's some way to do it, but it would require some experimentation.