Cleanup setup.py

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

Change-Id: Ie835fcb36972bad171420b6b2adaa39694fca7bb
This commit is contained in:
Ivan Anfimov 2025-04-29 08:30:34 +00:00
parent 00687f1ef9
commit 9990e1f1bb

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>=1.8'],
setup_requires=['pbr>=2.0.0'],
pbr=True)