From 8ca0706565ffa3f6a03d567e106c6c4a64c72209 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 4 Apr 2022 13:05:37 +0100 Subject: [PATCH] Set py_modules to an empty list in setup.py This prevents setuptools 61.0.0 doing autodiscovery and failing as this is an ansible role, not a python module. Change-Id: I5ef8a23aed6193bc61e52f0b069a835d229597d5 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 566d844..be253e1 100644 --- a/setup.py +++ b/setup.py @@ -26,4 +26,5 @@ except ImportError: setuptools.setup( setup_requires=['pbr>=2.0.0'], + py_modules=[], pbr=True)