summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-04-16 09:32:10 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-04-16 09:32:10 +0200
commit99c4e883049c5a797e63df396d3530b77700a1d5 (patch)
tree58a3bbc3504731d737a2d31bf601af3731a1b9e4 /pyproject.toml
parentf3a49e6a8ad7247fbe32e455cdc1e3f217a0e073 (diff)
Modernize packaging with pyproject.toml and setuptool_scm.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml39
1 files changed, 39 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..ddd0fc8
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,39 @@
+[build-system]
+requires = ["setuptools", "setuptools-scm"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "hazwaz"
+authors = [
+ {name = "Elena ``of Valhalla'' Grandi", email = "valhalla@trueelena.org"},
+]
+description = "A command line scripts framework"
+readme = "README.rst"
+requires-python = ">= 3.9"
+license = {text = "AGPLv3+"}
+keywords = ["cli"]
+classifiers = [
+ 'Development Status :: 3 - Alpha',
+ 'Environment :: Console',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
+ 'Operating System :: POSIX',
+ 'Programming Language :: Python :: 3 :: Only',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+ 'Topic :: Software Development :: User Interfaces',
+]
+dynamic = ["version"]
+
+[project.urls]
+Homepage = "https://hazwaz.trueelena.org/"
+Documentation = "https://hazwaz.trueelena.org/"
+Repository = "https://git.sr.ht/~valhalla/hazwaz"
+Source = "https://git.sr.ht/~valhalla/hazwaz"
+Issues = "https://todo.sr.ht/~valhalla/hazwaz"
+Tracker = "https://todo.sr.ht/~valhalla/hazwaz"
+Changelog = "https://git.sr.ht/~valhalla/hazwaz/tree/master/item/CHANGELOG.rst"
+
+[tool.setuptools_scm]
+version_file = "hazwaz/_version.py"