diff --git a/pyproject.toml b/pyproject.toml index e1018ce..a9a736d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,9 @@ [build-system] -requires = ["setuptools>=42.0.0", "wheel>=0.29.0", "setuptools_scm"] +requires = ["setuptools>=42.0.0", "wheel>=0.29.0", "setuptools-git-versioning"] build-backend = "setuptools.build_meta" -[tool.setuptools_scm] -version_scheme = "post-release" -local_scheme = "no-local-version" -fallback_version = "0.0.1.dev+unset" +[tool.setuptools-git-versioning] +enabled = true [tool.pyright] exclude = ["**/__pycache__", "noaa.egg-info"] diff --git a/setup.cfg b/setup.cfg index 624c9ee..6173675 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,7 +31,7 @@ packages = find: setup_requires = setuptools>=42.0.0 wheel>=0.29.0 - setuptools_scm + setuptools-git-versioning [options.packages.find] exclude = docs, tests