Migrate to pyproject.toml for build

This commit is contained in:
2025-05-14 21:33:34 +02:00
parent 4f8e111729
commit 81842e6d19
5 changed files with 29 additions and 18 deletions

View File

@@ -1,10 +1,33 @@
[project]
name = "argclass"
description = "A simple dataclass-based interface to Python's argparse"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{name = "Pavel Lutskov", email = "pavel.lutskov@gmail.com"},
]
requires-python = ">=3.10"
classifiers = [
"Private :: Do Not Upload",
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dynamic = ["version"]
[project.urls]
Repository = "https://git.ltskv.de/pavel/argclass"
[build-system]
requires = [
"setuptools>=42",
"setuptools>=77",
"setuptools-scm>=8",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.black]
line-length = 79
target-version = ["py38"]
target-version = ["py310"]