Skip to content

Commit 936ad7d

Browse files
authored
fix(tests): include tests in sdist builds (#337)
* feat: include `tests` in `sdist` builds for #336 * delete unexpected `DS_Store` file Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 7aae26d commit 936ad7d

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

pyproject.toml

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,33 @@ readme = "README.md"
1212
homepage = "https://github.com/CycloneDX/cyclonedx-python-lib"
1313
repository = "https://github.com/CycloneDX/cyclonedx-python-lib"
1414
packages = [
15-
{ include = "cyclonedx" }
15+
{ include = "cyclonedx" }
1616
]
1717
include = [
18-
"LICENSE",
18+
{ path = "tests", format = "sdist" },
19+
"LICENSE",
1920
]
2021
classifiers = [
21-
# Trove classifiers - https://packaging.python.org/specifications/core-metadata/#metadata-classifier
22-
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
23-
'Development Status :: 5 - Production/Stable',
24-
'Intended Audience :: Developers',
25-
'Intended Audience :: Information Technology',
26-
'Intended Audience :: Legal Industry',
27-
'Intended Audience :: System Administrators',
28-
'Topic :: Security',
29-
'Topic :: Software Development',
30-
'Topic :: System :: Software Distribution',
31-
'License :: OSI Approved :: Apache Software License',
32-
'Programming Language :: Python :: 3.6',
33-
'Programming Language :: Python :: 3.7',
34-
'Programming Language :: Python :: 3.8',
35-
'Programming Language :: Python :: 3.9',
36-
'Programming Language :: Python :: 3.10',
37-
'Typing :: Typed'
22+
# Trove classifiers - https://packaging.python.org/specifications/core-metadata/#metadata-classifier
23+
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
24+
'Development Status :: 5 - Production/Stable',
25+
'Intended Audience :: Developers',
26+
'Intended Audience :: Information Technology',
27+
'Intended Audience :: Legal Industry',
28+
'Intended Audience :: System Administrators',
29+
'Topic :: Security',
30+
'Topic :: Software Development',
31+
'Topic :: System :: Software Distribution',
32+
'License :: OSI Approved :: Apache Software License',
33+
'Programming Language :: Python :: 3.6',
34+
'Programming Language :: Python :: 3.7',
35+
'Programming Language :: Python :: 3.8',
36+
'Programming Language :: Python :: 3.9',
37+
'Programming Language :: Python :: 3.10',
38+
'Typing :: Typed',
3839
]
3940
keywords = [
40-
"BOM", "SBOM", "SCA", "OWASP"
41+
"BOM", "SBOM", "SCA", "OWASP",
4142
]
4243

4344
[tool.poetry.urls]
@@ -77,7 +78,7 @@ build-backend = "poetry.core.masonry.api"
7778

7879
[tool.semantic_release]
7980
version_variable = [
80-
"pyproject.toml:version"
81+
"pyproject.toml:version"
8182
]
8283
branch = "main"
8384
upload_to_pypi = true

tests/.DS_Store

-6 KB
Binary file not shown.

0 commit comments

Comments
 (0)