Skip to content

Commit

Permalink
fix project versioning with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
odinuv committed Jun 1, 2023
1 parent 380878d commit 8657107
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ __pycache__/
.env
/.coverage
/kbcstorage.egg-info
/dist
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
requires = ["setuptools", "setuptools-scm", "setuptools-git-versioning"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -28,3 +28,6 @@ dependencies = [
"python-dotenv",
]
dynamic = ["version"]

[tool.setuptools-git-versioning]
enabled = true

0 comments on commit 8657107

Please sign in to comment.