build-all - don't use main repo pyproject.toml for wasm builds

This commit is contained in:
Andrej730
2026-02-19 20:24:49 +05:00
parent f8f4725054
commit fc7d15324f
+3
View File
@@ -1521,6 +1521,9 @@ if "IfcOpenShell-Python" in targets:
)
# Copy setup.py where pyodide build system expects it.
shutil.copy(REPO_PATH / "pyodide" / "setup.py", REPO_PATH)
# Empty pyproject so it's contents won't affect the resulting wheelthe the
# otherwise the wheel will use version and dependencies from toml, not setup.py.
(REPO_PATH / "pyproject.toml").write_text("")
elif USE_CURRENT_PYTHON_VERSION:
python_info = sysconfig.get_paths()