Skip to content

Commit e7e4b29

Browse files
committed
Added fetching of version from git tags for python package.
1 parent ac634ae commit e7e4b29

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pyproject.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=44", "wheel"]
2+
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
33
build-backend = "setuptools.build_meta"
4+
5+
[tool.setuptools_scm]

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ classifiers =
2121
[options]
2222
python_requires = >=3.4
2323
zip_safe = True
24-
setup_requires = setuptools>=44; wheel
24+
setup_requires = setuptools>=44; wheel; setuptools_scm[toml]>=3.4.3
2525
package_dir =
2626
= python

0 commit comments

Comments
 (0)