|
1 | 1 | [build-system]
|
2 |
| -requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"] |
| 2 | +requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.3"] |
3 | 3 | build-backend = "setuptools.build_meta"
|
4 | 4 |
|
| 5 | +[project] |
| 6 | +name = "spdx-tools" |
| 7 | +authors = [{name = "Ahmed H. Ismail", email = "ahm3d.hisham@gmail.com"}] |
| 8 | +maintainers = [ |
| 9 | + {name = "Philippe Ombredanne", email = "pombredanne@gmail.com"}, |
| 10 | + {name = "SPDX group at the Linux Foundation and others"}, |
| 11 | +] |
| 12 | +license = {text = "Apache-2.0"} |
| 13 | +description = "SPDX parser and tools." |
| 14 | +readme = "README.md" |
| 15 | +classifiers = [ |
| 16 | + "Intended Audience :: Developers", |
| 17 | + "Intended Audience :: System Administrators", |
| 18 | + "License :: OSI Approved :: Apache Software License", |
| 19 | + "Programming Language :: Python :: 3.6", |
| 20 | + "Programming Language :: Python :: 3.7", |
| 21 | + "Programming Language :: Python :: 3.8", |
| 22 | + "Programming Language :: Python :: 3.9", |
| 23 | + "Programming Language :: Python :: 3.10", |
| 24 | + "Programming Language :: Python :: 3.11", |
| 25 | +] |
| 26 | +urls = {Homepage = "https://github.com/spdx/tools-python"} |
| 27 | +requires-python = ">=3.6" |
| 28 | +dependencies = ["ply", "rdflib", "click", "pyyaml", "xmltodict"] |
| 29 | +dynamic = ["version"] |
| 30 | + |
| 31 | +[project.optional-dependencies] |
| 32 | +test = ["pytest"] |
| 33 | + |
| 34 | +[project.scripts] |
| 35 | +pyspdxtools_convertor = "spdx.cli_tools.convertor:main" |
| 36 | +pyspdxtools_parser = "spdx.cli_tools.parser:main" |
| 37 | + |
| 38 | +[tool.setuptools] |
| 39 | +zip-safe = false # because of the uses of __file__: https://github.com/spdx/tools-python/issues/257 |
| 40 | +include-package-data = true |
| 41 | + |
| 42 | +[tool.setuptools.packages.find] |
| 43 | +include = ["spdx", "spdx.*"] |
| 44 | + |
5 | 45 | [tool.setuptools_scm]
|
6 | 46 | git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "v[0-9]*"] # `python3.6` tag falsely matches to the default one, clrearly a bug in setuptools_scm
|
| 47 | + |
| 48 | +[tool.aliases] |
| 49 | +release = "clean --all sdist --formats=gztar bdist_wheel" |
0 commit comments