diff options
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/pyproject.toml b/pyproject.toml index 35a7abf..1cbc27c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -8,8 +8,8 @@ authors = [ {name = "Cosimo Alfarano", email = "kalfa@debian.org"}, {name = "Matěj Cepl", email = "mcepl@cepl.eu"}, ] +description = 'The Python Gateway Script: news2mail mail2news gateway' keywords=["nntp", "email", "gateway"] -readme = "README.md" requires-python = ">=3.6" license = {text = "GPL-3.0"} classifiers = [ @@ -23,9 +23,15 @@ classifiers = [ 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)' ] dependencies = [ - "rply", + 'rply', + 'nntplib; python_version>="3.12"' ] -dynamic = ["version", "description"] +dynamic = ["version", "readme"] + +[project.urls] +Homepage = "https://sr.ht/~mcepl/pygn/" +"Bug Tracker" = "https://todo.sr.ht/~mcepl/pygn" +Repository = "https://git.sr.ht/~mcepl/pygn" [project.scripts] pygm2n = "mail2news:main" @@ -33,10 +39,4 @@ pygn2m = "news2mail:main" [tool.setuptools.dynamic] version = {attr = "mail2news.__version__"} -description = {attr = "mail2news.__description__"} - -[tool.setuptools.packages.find] -where = ["."] -include = ["*.py"] -exclude = ["setup.py"] -namespaces = false +readme = {file = "README.md"} |