Skip to content

Commit

Permalink
Merge pull request #169 from Preocts/preocts
Browse files Browse the repository at this point in the history
Add setuptools-scm for handling version
  • Loading branch information
Preocts authored Aug 1, 2024
2 parents 6351795 + 59e1984 commit a1c0764
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
[build-system]
requires = [
"setuptools",
]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[project]
name = "module-name"
version = "0.1.0"
requires-python = ">=3.8"
description = "Module Description"
readme = "README.md"
Expand All @@ -26,8 +23,12 @@ classifiers = [
dynamic = [
"dependencies",
"optional-dependencies",
"version",
]

[tool.setuptools_scm]
# Purposely left empty

[tool.setuptools.dynamic.dependencies]
file = [
"requirements/requirements.txt",
Expand Down

0 comments on commit a1c0764

Please sign in to comment.