Skip to content

Commit aa87dfc

Browse files
committed
pyproject.toml: Update Python versions + project URLs
Also remove `zip-safe` setuptools config (issue #257 got fixed; the config is also deprecated) Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
1 parent a02a3c4 commit aa87dfc

1 file changed

Lines changed: 27 additions & 11 deletions

File tree

pyproject.toml

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,51 @@ maintainers = [
99
{ name = "Philippe Ombredanne", email = "pombredanne@gmail.com" },
1010
{ name = "SPDX group at the Linux Foundation and others" },
1111
]
12-
license = { text = "Apache-2.0" }
12+
license = "Apache-2.0"
1313
description = "SPDX parser and tools."
1414
readme = "README.md"
1515
classifiers = [
1616
"Intended Audience :: Developers",
1717
"Intended Audience :: System Administrators",
1818
"License :: OSI Approved :: Apache Software License",
19-
"Programming Language :: Python :: 3.8",
20-
"Programming Language :: Python :: 3.9",
2119
"Programming Language :: Python :: 3.10",
2220
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
23+
"Programming Language :: Python :: 3.14",
24+
]
25+
requires-python = ">=3.10"
26+
dependencies = [
27+
"beartype",
28+
"click",
29+
"license_expression",
30+
"ply",
31+
"pyyaml",
32+
"rdflib",
33+
"semantic_version",
34+
"uritools",
35+
"xmltodict",
2336
]
24-
urls = { Homepage = "https://github.com/spdx/tools-python" }
25-
requires-python = ">=3.8"
26-
dependencies = ["click", "pyyaml", "xmltodict", "rdflib", "beartype", "uritools", "license_expression", "ply", "semantic_version"]
2737
dynamic = ["version"]
2838

2939
[project.optional-dependencies]
30-
test = ["pytest", "pyshacl", "tzdata"]
31-
code_style = ["isort", "black", "flake8"]
32-
graph_generation = ["pygraphviz", "networkx"]
33-
development = ["black", "flake8", "isort", "networkx", "pytest", "pyshacl"]
40+
test = ["pyshacl", "pytest", "tzdata"]
41+
code_style = ["black", "flake8", "isort"]
42+
graph_generation = ["networkx", "pygraphviz"]
43+
development = ["black", "flake8", "isort", "networkx", "pyshacl", "pytest"]
3444

3545
[project.scripts]
3646
pyspdxtools = "spdx_tools.spdx.clitools.pyspdxtools:main"
3747
pyspdxtools3 = "spdx_tools.spdx3.clitools.pyspdxtools3:main"
3848

49+
[project.urls]
50+
Homepage = "https://github.com/spdx/tools-python"
51+
Documentation = "https://spdx.github.io/tools-python/"
52+
Repository = "https://github.com/spdx/tools-python.git"
53+
Issues = "https://github.com/spdx/tools-python/issues"
54+
Changelog = "https://github.com/spdx/tools-python/blob/main/CHANGELOG.md"
55+
3956
[tool.setuptools]
40-
zip-safe = false # because of the uses of __file__: https://github.com/spdx/tools-python/issues/257
4157
include-package-data = true
4258

4359
[tool.setuptools.packages.find]

0 commit comments

Comments
 (0)