Commit e04a41e3 authored by Paul Ganssle's avatar Paul Ganssle

Rename build_meta:legacy to build_meta:__legacy__

parent 11fb3f38
Added the ``build_meta:legacy`` backend, a "compatibility mode" PEP 517 backend that can be used as the default when ``build-backend`` is left unspecified in ``pyproject.toml``.
Added the ``build_meta:__legacy__`` backend, a "compatibility mode" PEP 517 backend that can be used as the default when ``build-backend`` is left unspecified in ``pyproject.toml``.
......@@ -40,7 +40,7 @@ __all__ = ['get_requires_for_build_sdist',
'prepare_metadata_for_build_wheel',
'build_wheel',
'build_sdist',
'legacy',
'__legacy__',
'SetupRequirementsError']
class SetupRequirementsError(BaseException):
......@@ -228,4 +228,4 @@ build_sdist = _BACKEND.build_sdist
# The legacy backend
legacy = _BuildMetaLegacyBackend()
__legacy__ = _BuildMetaLegacyBackend()
......@@ -270,7 +270,7 @@ class TestBuildMetaBackend:
class TestBuildMetaLegacyBackend(TestBuildMetaBackend):
backend_name = 'setuptools.build_meta:legacy'
backend_name = 'setuptools.build_meta:__legacy__'
# build_meta_legacy-specific tests
def test_build_sdist_relative_path_import(self, tmpdir_cwd):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment