File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ authors = [
1212 {name = " Olivier Hoenen" , email = " olivier.hoenen@iter.org" },
1313]
1414description = " Pythonic wrappers for the IMAS Access Layer"
15- license = {file = " LICENSE" }
1615readme = {file = " README.md" , content-type = " text/markdown" }
1716requires-python = " >=3.7"
17+ license = {file = " LICENSE" }
1818classifiers = [
1919 " Development Status :: 3 - Alpha" ,
2020 " Environment :: Console" ,
@@ -49,6 +49,7 @@ classifiers = [
4949 " Topic :: System :: Software Distribution" ,
5050 " Topic :: Utilities" ,
5151]
52+ dynamic = [" version" ]
5253
5354[project .scripts ]
5455ids_convert = " imaspy.tools:convert"
@@ -59,5 +60,9 @@ build_DD = "imaspy.dd_helpers:prepare_data_dictionaries"
5960[project .urls ]
6061homepage = " https://git.iter.org/projects/IMAS/repos/imaspy"
6162
63+ # See https://pypi.org/project/setuptools-scm/
64+ [tool .setuptools_scm ]
65+ fallback_version =" 0.0.0" # TODO: Check if we can use IMASPY_VERSION here to match with EasyBuild
66+
6267[tool .pytest .ini_options ]
6368minversion = " 6.0"
Original file line number Diff line number Diff line change @@ -322,9 +322,6 @@ def run(self):
322322 # For allowed version strings, see https://packaging.python.org/specifications/core-metadata/ for allow version strings
323323
324324 setup (
325- use_scm_version = {
326- "fallback_version" : os .getenv ("IMASPY_VERSION" , "0.0.0" ),
327- },
328325 setup_requires = pyproject_data ["build-system" ]["requires" ],
329326 install_requires = install_requires ,
330327 extras_require = optional_reqs ,
You can’t perform that action at this time.
0 commit comments