Skip to content

Commit 0d5a948

Browse files
committed
Add setuptools_scm as a dependency
The version requirements were determined by testing with various old versions of setuptools and setuptools_scm. Using setuptools_scm <3.4.1 causes the build to fail, and using setuptools <42 means it fails to automatically determine the version number. Of course, in practice I expect that people will generally be using relatively recent versions of both packages, but the listed requirements express the minimum versions that appear to be compatible with this process.
1 parent 865fecd commit 0d5a948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
requires = ["setuptools >=42", "wheel"]
2+
requires = ["setuptools >=42", "setuptools_scm[toml] >=3.4.1", "wheel"]
33
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)