@@ -37,10 +37,7 @@ def _load_sysconfig_paths(self) -> Mapping[str, str]:
3737 # Load the values of sysconfig.get_paths() with a
3838 # "pyodide_sysconfig_" prefix to differentiate them
3939 # from other configuration variables
40- return {
41- f"pyodide_sysconfig_{ k } " : v
42- for k , v in sysconfig .get_paths ().items ()
43- }
40+ return {f"pyodide_sysconfig_{ k } " : v for k , v in sysconfig .get_paths ().items ()}
4441
4542 def _load_default_config (self ) -> Mapping [str , str ]:
4643 return {
@@ -185,11 +182,8 @@ def to_env(self) -> dict[str, str]:
185182}
186183
187184BUILD_KEY_TO_VAR .update (
188- {
189- f"pyodide_sysconfig_{ k } " : v
190- for k , v in sysconfig .get_paths ().items ()
191- }
192- )
185+ {f"pyodide_sysconfig_{ k } " : v for k , v in sysconfig .get_paths ().items ()}
186+ )
193187
194188BUILD_VAR_TO_KEY = {v : k for k , v in BUILD_KEY_TO_VAR .items ()}
195189
@@ -224,11 +218,8 @@ def to_env(self) -> dict[str, str]:
224218}
225219
226220DEFAULT_CONFIG .update (
227- {
228- f"pyodide_sysconfig_{ k } " : v
229- for k , v in sysconfig .get_paths ().items ()
230- }
231- )
221+ {f"pyodide_sysconfig_{ k } " : v for k , v in sysconfig .get_paths ().items ()}
222+ )
232223
233224# Default configs that are computed from other values (often from Makefile.envs)
234225# TODO: Remove dependency on Makefile.envs
0 commit comments