From 6582851241ce09538b63c0fe71f9dcf2d897106b Mon Sep 17 00:00:00 2001 From: elParaguayo Date: Sun, 19 May 2024 15:19:22 +0100 Subject: [PATCH] no isolation 2 --- .github/workflows/build.yml | 3 ++- setup.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f71404920e..29c558faea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -197,7 +197,8 @@ jobs: PYTHON_VERSION: ${{ matrix.python-version }} - name: Build wheels run: | - python -m pip install cffi build auditwheel cairocffi xcffib pywlroots pywayland xkbcommon + python -m pip install cffi build auditwheel cairocffi xcffib pywayland xkbcommon + python -m pip install --no-binary :all: pywlroots python -m build -v --config-setting backend=wayland --no-isolation --wheel . ls dist/ auditwheel show dist/qtile-*.whl diff --git a/setup.py b/setup.py index d23551cfe0..dc562b144c 100644 --- a/setup.py +++ b/setup.py @@ -56,6 +56,7 @@ def get_cffi_modules(): if can_import("wlroots.ffi_build"): cffi_modules.append("libqtile/backend/wayland/cffi/build.py:ffi") else: + importlib.import_module("wlroots.ffi_build") print("Failed to find pywlroots. Wayland backend dependencies not built.") return cffi_modules