forked from CycloneDX/cyclonedx-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (52 loc) · 1.72 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
[tool.poetry]
name = "cyclonedx-bom"
version = "2.0.1"
description = "CycloneDX Software Bill of Materials (SBOM) generation utility"
authors = ["Steven Springett <[email protected]>", "Paul Horton <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://github.com/CycloneDX/cyclonedx-python"
repository = "https://github.com/CycloneDX/cyclonedx-python"
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
'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'
]
[tool.poetry.dependencies]
python = "^3.6"
cyclonedx-python-lib = "^1.3.0"
[tool.poetry.dev-dependencies]
autopep8 = "^1.6.0"
tox = "^3.24.3"
coverage = "^6.2"
mypy = "^0.931"
flake8 = "^4.0.1"
flake8-annotations = {version = "^2.7.0", python = ">= 3.6.2"}
flake8-bugbear = "^22.1.11"
[tool.poetry.scripts]
cyclonedx-bom = 'cyclonedx_py.client:main'
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