diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a816384 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,5 @@ +[build-system] +requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] +build-backend = "setuptools.build_meta" + +[tool.setuptools_scm] diff --git a/setup.py b/setup.py index 0d9af21..c4f5013 100644 --- a/setup.py +++ b/setup.py @@ -46,6 +46,4 @@ extras_require={ "dev": dev_requires, }, - setup_requires=['setuptools_scm'], - use_scm_version=True, zip_safe=False)