diff --git a/nix/build-all.py b/nix/build-all.py index f34dcf6978..139e1dda2a 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -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()