From 9416e82903292bae08cabcc09f7e9707f36eb8b0 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Wed, 28 Dec 2022 15:02:26 +0100 Subject: [PATCH] Fix tox4 and setuptools errors - Remove skipsdist that it was never supported and causes breakage when used with usedevelop. - disable setuptools autodiscovery Change-Id: I3dd1ab78de71a2a2feb9e7d59612b5c2a09e1f4a --- setup.py | 1 + tox.ini | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cd35c3c..31d6ada 100644 --- a/setup.py +++ b/setup.py @@ -17,4 +17,5 @@ import setuptools setuptools.setup( setup_requires=['pbr>=2.0.0'], + py_modules=[], pbr=True) diff --git a/tox.ini b/tox.ini index e2876ad..8912959 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,6 @@ [tox] minversion = 3.18.0 envlist = pep8 -skipsdist = True ignore_basepython_conflict = true [testenv]