Skip to content

Commit e4e4a12

Browse files
authored
build: Fix licenses and included folders
2 parents 3a5c834 + 526a585 commit e4e4a12

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
[build-system]
5-
requires = ["setuptools>=64", "setuptools_scm[toml]>=3.4", "wheel"]
5+
requires = ["setuptools>=77", "setuptools_scm[toml]>=3.4", "wheel"]
66
build-backend = "setuptools.build_meta"
77

88
[project]
@@ -12,14 +12,14 @@ name = "polarion-rest-api-client"
1212
description = "An API Client for the Polarion REST API"
1313
readme = "README.md"
1414
requires-python = ">=3.10, <3.13"
15-
license = { text = "Apache-2.0" }
15+
license = "Apache-2.0"
16+
license-files = ["LICENSES/*.txt"]
1617
authors = [
1718
{ name = "DB InfraGO AG" },
1819
]
1920
keywords = []
2021
classifiers = [
2122
"Development Status :: 1 - Planning",
22-
"License :: OSI Approved :: Apache Software License",
2323
"Natural Language :: English",
2424
"Operating System :: OS Independent",
2525
"Programming Language :: Python :: 3 :: Only",
@@ -208,7 +208,10 @@ zip-safe = false
208208
"*" = ["py.typed"]
209209

210210
[tool.setuptools.packages.find]
211-
exclude = ["LICENSES"]
211+
include = [
212+
"polarion_rest_api_client"
213+
]
212214

213215
[tool.setuptools_scm]
214216
# This section must exist for setuptools_scm to work
217+
local_scheme = "no-local-version"

0 commit comments

Comments
 (0)