From ca5ed66d55f8cc52e0a6c9c311dc00c97dd9347a Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Wed, 4 Jan 2023 12:01:18 +0000 Subject: [PATCH] setup.py: Remove 'py_modules' This was merely obscuring a bug in pbr. setuptools doesn't do the auto-discovery when pbr is in use. Remove it. Change-Id: I40500ed7bf9d9fb30381c7539548544152cea85e Signed-off-by: Stephen Finucane Depends-on: https://review.opendev.org/c/openstack/pbr/+/869082 --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index dd26ed49b7..e5bafb0134 100644 --- a/setup.py +++ b/setup.py @@ -13,10 +13,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT import setuptools setuptools.setup( setup_requires=['pbr>=2.0.0'], - py_modules=[], - pbr=True) + pbr=True, +)