Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 072d6b9

Browse filesBrowse files
committed
Update packaging configuration
Enable package discovery and resolve setuptools deprecation warnings around license configuration. Change-Id: I83f94fbd72aff47c77197e717e21753831fd9f98 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
1 parent e7ccdec commit 072d6b9
Copy full SHA for 072d6b9

1 file changed

+4-7Lines changed: 4 additions & 7 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎pyproject.toml‎

Copy file name to clipboardExpand all lines: pyproject.toml
+4-7Lines 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",
@@ -725,10 +724,8 @@ volume_transfer_request_show = "openstackclient.volume.v3.volume_transfer_reques
725724
volume_summary = "openstackclient.volume.v3.volume:VolumeSummary"
726725
volume_revert = "openstackclient.volume.v3.volume:VolumeRevertToSnapshot"
727726

728-
[tool.setuptools]
729-
packages = [
730-
"openstackclient"
731-
]
727+
[tool.setuptools.packages.find]
728+
include = ["openstackclient"]
732729

733730
[tool.mypy]
734731
python_version = "3.10"
@@ -739,7 +736,7 @@ follow_imports = "normal"
739736
incremental = true
740737
check_untyped_defs = true
741738
warn_unused_ignores = true
742-
exclude = '(?x)(doc | examples | hacking | releasenotes)'
739+
exclude = "(?x)(doc | examples | hacking | releasenotes)"
743740

744741
[[tool.mypy.overrides]]
745742
module = ["openstackclient.tests.unit.*"]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.