mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Do not import internal class
This commit is contained in:
parent
2d0b13b812
commit
38d63868bf
|
@ -1,10 +1,12 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from setuptools.build_meta import * # noqa: F401, F403
|
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"):
|
def run_setup(self, setup_script="setup.py"):
|
||||||
if self.config_settings:
|
if self.config_settings:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user