Recent versions of PBR are now capable of being integrated as a
build backend per the PEP 517 specification, so that the setup.py
script no longer needs to be invoked directly by anything. Declaring
setup_requires is now done via a new pyproject.toml file instead.
This allows us to avoid some recent deprecations in SetupTools,
though the file itself needs to be retained as a stub for now since
it still gets imported by PBR's wrapper of the SetupTools build_meta
hooks.
copyright notice
----------------
-Copyright (c) 2004-2021 Jeremy Stanley <fungi@yuggoth.org> and other
+Copyright (c) 2004-2022 Jeremy Stanley <fungi@yuggoth.org> and other
mudpy authors listed in the Git history or AUTHORS file.
permission notice
--- /dev/null
+# Copyright (c) 2022 mudpy authors. Permission to use, copy,
+# modify, and distribute this software is granted under terms
+# provided in the LICENSE file distributed with this software.
+
+[build-system]
+requires = ["pbr>=5.8.0", "setuptools>=36.6.0", "wheel"]
+build-backend = "pbr.build"
-# Copyright (c) 2016-2019 mudpy authors. Permission to use, copy,
+# Copyright (c) 2016-2022 mudpy authors. Permission to use, copy,
# modify, and distribute this software is granted under terms
# provided in the LICENSE file distributed with this software.
import setuptools
-setuptools.setup(setup_requires=['pbr>=5'], pbr=True)
+setuptools.setup(pbr=True)