Skip to content

Commit

Permalink
Fix the setuptools-scm config.
Browse files Browse the repository at this point in the history
  • Loading branch information
amjith committed Nov 25, 2024
1 parent ff4fed3 commit 9caaaad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,15 @@ dependencies = [
]

[build-system]
requires = ["setuptools>=64.0", "setuptools-scm>=8"]
requires = [
"setuptools>=64.0",
"setuptools-scm>=8;python_version>='3.8'",
"setuptools-scm<8;python_version<'3.8'",
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]

[project.optional-dependencies]
ssh = ["paramiko", "sshtunnel"]
dev = [
Expand Down

0 comments on commit 9caaaad

Please sign in to comment.