Store version in project metadata

This commit is contained in:
Pavel Zwerschke 2024-05-11 19:35:14 +02:00
parent 21a266e302
commit f600d682e7
No known key found for this signature in database
GPG key ID: 43E091FBB4E98046
11 changed files with 45 additions and 22 deletions

View file

@ -4,6 +4,14 @@ build-backend = "setuptools.build_meta"
[project]
name = "PFERD"
version = "3.5.2"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"aiohttp>=3.8.1",
"beautifulsoup4>=4.10.0",
@ -11,15 +19,11 @@ dependencies = [
"keyring>=23.5.0",
"certifi>=2021.10.8"
]
dynamic = ["version"]
requires-python = ">=3.9"
[project.scripts]
pferd = "PFERD.__main__:main"
[tool.setuptools.dynamic]
version = {attr = "PFERD.version.VERSION"}
[tool.flake8]
max-line-length = 110