Cleanup setup.py

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

Change-Id: I3793bdd8aca2b07f3e3d356efd3bcde4fd95fb85
This commit is contained in:
Ivan Anfimov 2025-04-29 08:30:58 +00:00
parent b9da5e9e53
commit 166578ec07

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)