Cleanup setup.py

Python 2 is no longer supported and setup.py is no
longer managed by the global tooling.

Change-Id: I43551eab1eebc211778f4c6ef53faaebb4afa10e
This commit is contained in:
Ivan Anfimov 2025-04-29 08:20:00 +00:00
parent 98cd545fb2
commit ffbb9b2417

View File

@ -13,17 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
pbr=True)