From 5126770a6cf8643d678427aab8ea75bbb367e496 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Thu, 7 Apr 2022 16:44:07 +0200 Subject: [PATCH] Set py_modules to 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. Signed-off-by: Dr. Jens Harbott Change-Id: Id0b18670847a78c55295c74a7070b580d90ffed0 --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5935c6b..4e14078 100644 --- a/setup.py +++ b/setup.py @@ -5,5 +5,6 @@ import setuptools setuptools.setup( - setup_requires=['pbr'], + setup_requires=['pbr>=2.0.0'], + py_modules=[], pbr=True)