mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 12:22:37 +00:00
build-all - don't use main repo pyproject.toml for wasm builds
This commit is contained in:
@@ -1521,6 +1521,9 @@ if "IfcOpenShell-Python" in targets:
|
|||||||
)
|
)
|
||||||
# Copy setup.py where pyodide build system expects it.
|
# Copy setup.py where pyodide build system expects it.
|
||||||
shutil.copy(REPO_PATH / "pyodide" / "setup.py", REPO_PATH)
|
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:
|
elif USE_CURRENT_PYTHON_VERSION:
|
||||||
python_info = sysconfig.get_paths()
|
python_info = sysconfig.get_paths()
|
||||||
|
|||||||
Reference in New Issue
Block a user