Closed kguilbert closed 5 years ago
@chrismurf Is there a way you can pull this from the CMakeLists.txt (DCCL_VERSION_MAJOR, etc.) or add a new version.txt
that both the CMakeLists.txt and python reference?
@tsaubergine I just noticed that the 3.0.10 tag is one commit before DCCL_VERSION_PATCH was set to 10, so the 3.0.10 release still shows a version of 3.0.9.
@tsaubergine I just noticed that the 3.0.10 tag is one commit before DCCL_VERSION_PATCH was set to 10, so the 3.0.10 release still shows a version of 3.0.9.
This is fixed now. Thanks
Right now, the python build happens in-tree, not in the build folder, and isn't coordinated by CMakeLists. Making CMakeLists do the build is not something I am good at, though @kguilbert has done it a couple of times. I am more tempted by the version.txt approach, unless you (or @kguilbert) feel strongly?
Using a version.txt sounds like the least intrusive change that will preserve the in-tree python builds. I've done it with a "setup.py.in" which is generated by CMake, but then you lose the ability to run setup.py without first building with cmake.
Currently
__version__
in python/setup.py is set to "3.0.8". It looks like this was intended to match the library version but it's not being bumped.