Versioning the pybuild module itself
Instead of a versioned Pybuild class, it might make more sense to version the pybuild module itself by having imports come from pybuild.2
, pybuild.3
, etc. That would make it easier to control changes to functions and globals outside of the Pybuild2 class, as well as make the API doc easier to read by having separate docs for each version rather then all the versions on one page with deprecation notices.
It should be fairly easy to introduce this by simply adding a new module for the next version. Nothing needs to be done at the moment.