aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/pyproject.toml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 14:28:33 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 16:28:39 +0100
commited86e96d158600fb4555d23066dec5db822b73ef (patch)
tree028d576552e10bf5248ab6b8bc1cba5fbcab4960 /pyproject.toml
parentworkflows/ci: test w/ Python 3.11 also (diff)
downloadcgitize-ed86e96d158600fb4555d23066dec5db822b73ef.tar.gz
cgitize-ed86e96d158600fb4555d23066dec5db822b73ef.zip
add runtime version information
Diffstat (limited to '')
-rw-r--r--pyproject.toml7
1 files changed, 5 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 89da158..5d7e0bd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,18 +1,19 @@
[build-system]
-requires = ["setuptools>=61.0"]
+requires = ["setuptools>=61.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "cgitize"
description = "Self-host your repositories using cgit"
license = {text = "MIT"}
-version = "4.0.9"
+dynamic = ["version"]
authors = [{name = "Egor Tensin", email = "Egor.Tensin@gmail.com"}]
readme = "README.md"
requires-python = ">=3.6"
dependencies = [
"atlassian-python-api ~= 3.28.0",
+ 'importlib-metadata ~= 4.0 ; python_version < "3.8"',
"PyGithub ~= 1.0",
"python-gitlab ~= 2.0",
"tomli ~= 1.0",
@@ -34,3 +35,5 @@ cgitize = "cgitize.main:main"
[tool.setuptools.packages]
find = {}
+
+[tool.setuptools_scm]