From 28176cda9fc501eabd2d8af9cc384c1b9ef364a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=CC=81o=20Monnom?= Date: Tue, 3 Oct 2023 11:21:38 -0700 Subject: [PATCH] fix build --- .github/workflows/build-rtc.yml | 9 +++++++++ livekit-rtc/setup.py | 1 + pyproject.toml | 30 ------------------------------ 3 files changed, 10 insertions(+), 30 deletions(-) delete mode 100644 pyproject.toml diff --git a/.github/workflows/build-rtc.yml b/.github/workflows/build-rtc.yml index edfbf8d1..dca3fe7b 100644 --- a/.github/workflows/build-rtc.yml +++ b/.github/workflows/build-rtc.yml @@ -43,6 +43,15 @@ jobs: - name: Build wheels run: python3 -m cibuildwheel --output-dir dist env: + CIBW_BUILD: cp37-* + CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 + CIBW_MANYLINUX_I686_IMAGE: manylinux_2_28 + CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28 + CIBW_MANYLINUX_PPC64LE_IMAGE: manylinux_2_28 + CIBW_MANYLINUX_S390X_IMAGE: manylinux_2_28 + CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux_2_28 + CIBW_MANYLINUX_PYPY_I686_IMAGE: manylinux_2_28 + CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: manylinux_2_28 CIBW_ARCHS: ${{ matrix.archs }} CIBW_SKIP: "*-musllinux_*" diff --git a/livekit-rtc/setup.py b/livekit-rtc/setup.py index 910c200d..5dd32b88 100644 --- a/livekit-rtc/setup.py +++ b/livekit-rtc/setup.py @@ -89,6 +89,7 @@ def run(self): license="Apache-2.0", packages=["livekit"], python_requires=">=3.7.0", + setup_requires=["wheel", "requests"], install_requires=["pyee>=11.0.0", "protobuf>=3.1.0", "types-protobuf>=3.1.0"], diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 7203bbc0..00000000 --- a/pyproject.toml +++ /dev/null @@ -1,30 +0,0 @@ -[build-system] -requires = [ - "setuptools>=42", - "wheel", - "requests", -] -build-backend = "setuptools.build_meta" - -[tool.ruff] -select = [ - "E", # pycodestyle - "F", # pyflakes - "I", # isort -] -exclude = [ - 'examples/whisper/whisper.cpp', - 'livekit/_proto', -] - -[tool.cibuildwheel] -build = "cp39-*" - -manylinux-x86_64-image = "manylinux_2_28" -manylinux-i686-image = "manylinux_2_28" -manylinux-aarch64-image = "manylinux_2_28" -manylinux-ppc64le-image = "manylinux_2_28" -manylinux-s390x-image = "manylinux_2_28" -manylinux-pypy_x86_64-image = "manylinux_2_28" -manylinux-pypy_i686-image = "manylinux_2_28" -manylinux-pypy_aarch64-image = "manylinux_2_28" \ No newline at end of file