File tree 1 file changed +0
-9
lines changed
Tools/wasm/emscripten/web_example
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 91
91
"_zoneinfo" : ["zoneinfo/" ],
92
92
}
93
93
94
- SYSCONFIG_NAMES = (
95
- "_sysconfigdata__emscripten_wasm32-emscripten" ,
96
- "_sysconfigdata__emscripten_wasm32-emscripten" ,
97
- "_sysconfigdata__wasi_wasm32-wasi" ,
98
- "_sysconfigdata__wasi_wasm64-wasi" ,
99
- )
100
-
101
94
102
95
def get_builddir (args : argparse .Namespace ) -> pathlib .Path :
103
96
"""Get builddir path from pybuilddir.txt"""
@@ -110,8 +103,6 @@ def get_sysconfigdata(args: argparse.Namespace) -> pathlib.Path:
110
103
"""Get path to sysconfigdata relative to build root"""
111
104
assert isinstance (args .builddir , pathlib .Path )
112
105
data_name : str = sysconfig ._get_sysconfigdata_name () # type: ignore[attr-defined]
113
- if not data_name .startswith (SYSCONFIG_NAMES ):
114
- raise ValueError (f"Invalid sysconfig data name '{ data_name } '." , SYSCONFIG_NAMES )
115
106
filename = data_name + ".py"
116
107
return args .builddir / filename
117
108
You can’t perform that action at this time.
0 commit comments