Do not import internal class

This commit is contained in:
Andrew Murray 2023-06-14 15:46:24 +10:00
parent 2d0b13b812
commit 38d63868bf

View File

@ -1,10 +1,12 @@
import sys
from setuptools.build_meta import * # noqa: F401, F403
from setuptools.build_meta import _BuildMetaBackend
from setuptools.build_meta import build_wheel
backend_class = build_wheel.__self__.__class__
class _CustomBuildMetaBackend(_BuildMetaBackend):
class _CustomBuildMetaBackend(backend_class):
def run_setup(self, setup_script="setup.py"):
if self.config_settings: