diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index ab3df653..7039ef23 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -69,6 +69,7 @@ jobs: - name: Build wheels run: | + pip install cython delvewheel cmake -S . -B build ` -DCMAKE_BUILD_TYPE=Release ` -DVCPKG_TARGET_TRIPLET=${{ env.VCPKG_DEFAULT_TRIPLET }} ` @@ -79,7 +80,7 @@ jobs: -DOPENDHT_TOOLS=OFF ` -DOPENDHT_PYTHON=ON ` -DOPENDHT_PROXY_CLIENT=ON ` - -DOPENDHT_PROXY_SERVER=ON ` + -DOPENDHT_PROXY_SERVER=ON cd build pipx run cibuildwheel python shell: pwsh diff --git a/python/pyproject.toml b/python/pyproject.toml index 0f1311e1..b0ed8393 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -43,7 +43,6 @@ repair-wheel-command = 'DYLD_LIBRARY_PATH=$PWD delocate-wheel -w {dest_dir} {whe [tool.cibuildwheel.windows] # Configure first, then from 'build' directory run: with pipx run cibuildwheel python before-build = [ - 'pip install cython delvewheel', 'cmake --build . --config Release --target python', ] repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel} --add-path ./Release --add-path ./vcpkg_installed/x64-windows-release/bin"