MCPcopy Create free account
hub / github.com/python-pillow/Pillow / run_setup

Method run_setup

_custom_build/backend.py:12–20  ·  view source on GitHub ↗
(self, setup_script="setup.py")

Source from the content-addressed store, hash-verified

10
11class _CustomBuildMetaBackend(backend_class):
12 def run_setup(self, setup_script="setup.py"):
13 if self.config_settings:
14 for key, values in self.config_settings.items():
15 if not isinstance(values, list):
16 values = [values]
17 for value in values:
18 sys.argv.append(f"--pillow-configuration={key}={value}")
19
20 return super().run_setup(setup_script)
21
22 def build_wheel(
23 self, wheel_directory, config_settings=None, metadata_directory=None

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected