From 9aaac011f0f73147452a51ada3ad5d967942210b Mon Sep 17 00:00:00 2001 From: Johannes Kulik Date: Fri, 5 Dec 2025 15:30:16 +0100 Subject: [PATCH 1/2] Remove duplicate settings in setup.py Instead of setting description, name etc. in `setup.py` and `setup.cfg`, we switch to only setting them in `setup.cfg`. While using `setup.py` for this is still supported, the standard a couple years back was using `setup.cfg` - and now we moved off to `pyproject.toml`. The reason for this change is, that automatic Python package building with `hatch` fails in our CI. Removing these settings makes it work. --- setup.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/setup.py b/setup.py index a720134..34c6ce8 100644 --- a/setup.py +++ b/setup.py @@ -35,13 +35,6 @@ pass setuptools.setup( - name="openstack-audit-middleware", version=VERSION, - author="notque (Nathan Oyler)", - author_email="", - description=DESCRIPTION, - long_description_content_type="text/markdown", - long_description=LONG_DESCRIPTION, - keywords=['python', 'openstack', 'audit', 'cadf'], setup_requires=['pbr>=2.0.0'], pbr=True) From 1f9c46e1a028f2e5ea6f86625a19cef9004d0a54 Mon Sep 17 00:00:00 2001 From: notque Date: Fri, 5 Dec 2025 11:23:11 -0700 Subject: [PATCH 2/2] add metadata to setup.cfg for discoverability on PyPI --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index d99b400..94ac6ff 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,7 @@ [metadata] name = audit-middleware summary = Audit Middleware for OpenStack +keywords = python, openstack, audit, cadf description_file = README.md author = SAP SE