Commit 2e175466 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[cmd] Partial revert of changes about package version:

- Same method for all packages
- Doesn't require an installation for the packaging
- All is dynamic
parent a81f3a0c
from pkg_resources import get_distribution
__version__ = "2.0.0" __version__ = get_distribution('cadbiom_cmd').version
[metadata] [metadata]
name = cadbiom_cmd name = cadbiom_cmd
version = attr: cadbiom_cmd.__version__ #version = attr: cadbiom_cmd.__version__
description = Command line tools using the Cadbiom software description = Command line tools using the Cadbiom software
description-file = README.md description-file = README.md
long_description_content_type = text/markdown long_description_content_type = text/markdown
......
...@@ -28,4 +28,7 @@ ...@@ -28,4 +28,7 @@
# Standard imports # Standard imports
from setuptools import setup from setuptools import setup
setup() __PACKAGE_VERSION__ = "2.0.0"
setup(version=__PACKAGE_VERSION__)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment