Skip to content

Commit 1a6b81b

Browse files
committed
Try fix WASM build with Py_DEBUG
1 parent cb04312 commit 1a6b81b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Lib/sysconfig/__main__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,7 @@ def _generate_posix_vars():
213213
module.build_time_vars = vars
214214
sys.modules[name] = module
215215

216-
pybuilddir = os.environ.get(
217-
'_PYTHON_SYSCONFIGDATA_PATH',
218-
f'build/lib.{get_platform()}-{get_python_version()}',
219-
)
216+
pybuilddir = f'build/lib.{get_platform()}-{get_python_version()}'
220217
os.makedirs(pybuilddir, exist_ok=True)
221218
destfile = os.path.join(pybuilddir, name + '.py')
222219

0 commit comments

Comments
 (0)