setup.py : disable autodiscovery with later setuptools

Disable the autodiscovery [1] for this project; it looks like this is
used basically via it's tox environments and doesn't need to worry
about what packages it creates.

This is hitting now because the translation proposal jobs run under a
3.8 venv which is bringing in newer setuptools.

[1] https://github.com/pypa/setuptools/issues/3197

Change-Id: I1f833f6db5fe14f17c91aa2e1f132c2f0fa62959
This commit is contained in:
Ian Wienand 2022-07-28 12:56:50 +10:00
parent 315da907d8
commit 8cf776b6ab
1 changed files with 2 additions and 1 deletions

View File

@ -26,4 +26,5 @@ except ImportError:
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
pbr=True)
pbr=True,
py_modules=[])