From 99c4e883049c5a797e63df396d3530b77700a1d5 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Tue, 16 Apr 2024 09:32:10 +0200 Subject: Modernize packaging with pyproject.toml and setuptool_scm. --- pyproject.toml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pyproject.toml (limited to 'pyproject.toml') 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" -- cgit v1.2.3