forked from CycloneDX/cyclonedx-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (87 loc) · 3.11 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[tool.poetry]
name = "cyclonedx-bom"
version = "3.11.0"
description = "CycloneDX Software Bill of Materials (SBOM) generation utility"
authors = [
"Steven Springett <[email protected]>",
"Paul Horton <[email protected]>",
]
maintainers = [
"Paul Horton <[email protected]>",
"Jan Kowalleck <[email protected]>",
]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/CycloneDX/cyclonedx-python/#readme"
repository = "https://github.com/CycloneDX/cyclonedx-python"
documentation = "https://cyclonedx-bom-tool.readthedocs.io/"
packages = [
{ include = "cyclonedx_py" }
]
include = [
"LICENSE", "NOTICE"
]
classifiers = [
# Trove classifiers - https://packaging.python.org/specifications/core-metadata/#metadata-classifier
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Legal Industry',
'Intended Audience :: System Administrators',
'Topic :: Security',
'Topic :: Software Development',
'Topic :: System :: Software Distribution',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Typing :: Typed'
]
[tool.poetry.dependencies]
python = "^3.6"
# ATTENTION: keep `deps.lowest.r` file in sync
cyclonedx-python-lib = ">= 2.0.0, < 4.0.0"
packageurl-python = ">= 0.9"
importlib-metadata = { version = ">= 3.4", python = "< 3.8" }
pip-requirements-parser = "^32.0.0"
setuptools = ">= 47.0.0"
toml = "^0.10.0"
[tool.poetry.dev-dependencies]
autopep8 = "^1.6.0"
isort = { version = "^5.10.0", python = ">= 3.6.1" }
ddt = "^1.6.0"
tox = "^3.25.1"
coverage = [
{ python = ">=3.6,<3.7", version = "^6.2", extras = ["toml"] },
{ python = ">=3.7", version = "^6.5", extras = ["toml"] },
]
mypy = ">=0.971,<1"
mypy-extensions = ">=0.4.3,<1"
flake8 = "^4.0.1"
flake8-annotations = {version = "^2.7.0", python = ">= 3.6.2"}
flake8-bugbear = "^22.9.23"
flake8-isort = { version = "^4.2.0", python = ">= 3.6.1" }
# `types-toml` need to stay in sync with version of `toml`
types-toml = "^0.10.0"
# `types-setuptools` need to stay in sync with version of `setuptools` - but 47 was not typed...
types-setuptools = ">= 57.0.0"
[tool.poetry.scripts]
cyclonedx-bom = 'cyclonedx_py.client:main_deprecated' # deprecated as of https://github.com/CycloneDX/cyclonedx-python/issues/488
cyclonedx-py = 'cyclonedx_py.client:main'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.semantic_release]
# https://python-semantic-release.readthedocs.io/en/latest/configuration.html
version_variable = [
"pyproject.toml:version"
]
branch = "master"
upload_to_pypi = true
upload_to_repository = true
upload_to_release = true
build_command = "pip install poetry && poetry build"
remove_dist = false # dist results required for some CI automation