From 0f5bbf68d6b46708496bced76c6e8ade30d74724 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Wed, 28 Dec 2022 14:58:06 +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: Icd107c69be1685af9eddf9cc9fe2236d5eb57c5a --- setup.py | 1 + tox.ini | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cd35c3c35..31d6ada17 100644 --- a/setup.py +++ b/setup.py @@ -17,4 +17,5 @@ setuptools.setup( setup_requires=['pbr>=2.0.0'], + py_modules=[], pbr=True) diff --git a/tox.ini b/tox.ini index ef5f773df..31834982b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,5 @@ [tox] minversion = 3.18.0 -skipsdist = True envlist = py3,pep8,functional-py38 ignore_basepython_conflict=true