Skip to content

Commit

Permalink
don't set platform
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanking13 committed Jan 6, 2025
1 parent 7520b9b commit 6683a1b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pyodide_build/pypabuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,16 @@ def switch_index_url(index_url: str) -> Generator[None, None, None]:

env = {
"PIP_INDEX_URL": index_url,
"PIP_PLATFORM": " ".join(
[
f"pyodide_{get_build_flag("PYODIDE_ABI_VERSION")}_wasm32",
HOST_ARCH,
]
),
}

# import build
# build._ctx.VERBOSITY.set(1)

# def log(msg, *args, **kwargs):
# print(msg, str(kwargs))

# build._ctx.LOGGER.set(log)

with common.replace_env(env) as replaced_env:
yield replaced_env

Expand Down

0 comments on commit 6683a1b

Please sign in to comment.