setuptools 61.0 brings breaking changes which are not backwork
compatible, details in related bug and [1].
Users that don't set ``packages``, ``py_modules``, or `configuration`
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.
To disable auto discovery, one can do below in setup.py
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ha-utils/ +/835428 /opendev. org/openstack/ tripleo- ha-utils/ commit/ 74eec6791c0ad04 fd090444461a948 68590ca70c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 74eec6791c0ad04 fd090444461a948 68590ca70c
Author: Sandeep Yadav <email address hidden>
Date: Mon Mar 28 15:33:57 2022 +0530
Disable auto discovery
setuptools 61.0 brings breaking changes which are not backwork
compatible, details in related bug and [1].
Users that don't set ``packages``, ``py_modules``, or `configuration`
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.
To disable auto discovery, one can do below in setup.py
~~~ setup(. .,packages= [],..)
setuptools.
~~~
or
~~~ setup(. .,py_modules= [],..)
setuptools.
~~~
[1] https:/ /github. com/pypa/ setuptools/ issues/ 3197
Releated-Bug: #1966382 6d575f2560bd0a2 52417168f8a
Change-Id: I0c9e9833bc3072