Skip to content

Commit 750d22a

Browse files
committed
fixup! fixup! Build Pyodide wheel
1 parent 9945567 commit 750d22a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,11 @@ jobs:
329329
fetch-depth: ${{ env.git-depth }}
330330
- name: Checkout submodules
331331
run: git submodule update --init --recursive --depth 1
332+
- uses: libsdl-org/setup-sdl@6574e20ac65ce362cd12f9c26b3a5e4d3cd31dee
333+
with:
334+
install-linux-dependencies: true
335+
build-type: "Debug"
336+
version: ${{ env.sdl-version }}
332337
- uses: pypa/cibuildwheel@v3.0.0
333338
env:
334339
CIBW_PLATFORM: pyodide

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,10 @@ def get_package_data() -> list[str]:
3737
return files
3838

3939

40-
print(f"{sys.platform=} {os.environ.get('PYODIDE')=} {'pyodide' in sys.modules=}")
41-
42-
4340
def check_sdl_version() -> None:
4441
"""Check the local SDL version on Linux distributions."""
4542
if not sys.platform.startswith("linux"):
4643
return
47-
if "PYODIDE" in os.environ:
48-
return
4944
needed_version = "{}.{}.{}".format(*SDL_VERSION_NEEDED)
5045
try:
5146
sdl_version_str = subprocess.check_output(

0 commit comments

Comments
 (0)