diff --git a/pyproject.toml_beta b/pyproject.toml_beta index f2fcb2c1..dc57fb6e 100644 --- a/pyproject.toml_beta +++ b/pyproject.toml_beta @@ -35,7 +35,7 @@ Homepage = "https://github.com/I2PC/scipion-em-xmipp" Issues = "https://github.com/I2PC/scipion-em-xmipp/issues" [tool.setuptools.dynamic] -version = {attr = "xmipp3.version.__version__"} +version = {attr = "xmipp3.version.__version__[3:]"} [project.entry-points."pyworkflow.plugin"] diff --git a/setup.py b/setup.py index 1f6a9939..5e556566 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ # For a discussion on single-sourcing the version across setup.py and the # project code, see # https://packaging.python.org/en/latest/single_source_version.html - version=__version__, # Required + version=__version__[3:], # Remove the "3" from the number version # This is a one-line description or tagline of what your project does. This # corresponds to the "Summary" metadata field: