Skip to content

Commit 81c5436

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Update packaging configuration"
2 parents 4efa7ac + 072d6b9 commit 81c5436

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ authors = [
99
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
1010
]
1111
readme = {file = "README.rst", content-type = "text/x-rst"}
12-
license = {text = "Apache-2.0"}
12+
license = "Apache-2.0"
1313
dynamic = ["version", "dependencies"]
1414
requires-python = ">=3.10"
1515
classifiers = [
1616
"Environment :: OpenStack",
1717
"Intended Audience :: Information Technology",
1818
"Intended Audience :: System Administrators",
19-
"License :: OSI Approved :: Apache Software License",
2019
"Operating System :: POSIX :: Linux",
2120
"Programming Language :: Python",
2221
"Programming Language :: Python :: 3",
@@ -754,10 +753,8 @@ volume_transfer_request_show = "openstackclient.volume.v3.volume_transfer_reques
754753
volume_summary = "openstackclient.volume.v3.volume:VolumeSummary"
755754
volume_revert = "openstackclient.volume.v3.volume:VolumeRevertToSnapshot"
756755

757-
[tool.setuptools]
758-
packages = [
759-
"openstackclient"
760-
]
756+
[tool.setuptools.packages.find]
757+
include = ["openstackclient"]
761758

762759
[tool.mypy]
763760
python_version = "3.10"
@@ -768,7 +765,7 @@ follow_imports = "normal"
768765
incremental = true
769766
check_untyped_defs = true
770767
warn_unused_ignores = true
771-
exclude = '(?x)(doc | examples | hacking | releasenotes)'
768+
exclude = "(?x)(doc | examples | hacking | releasenotes)"
772769

773770
[[tool.mypy.overrides]]
774771
module = ["openstackclient.tests.unit.*"]

0 commit comments

Comments
 (0)