diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 0a8724b..4eff6de 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -27,21 +27,14 @@ jobs: - uses: actions/setup-python@v5 - - name: Setup venv + - name: Install requirements and build wheels run: | - cd ../../ - python -m venv build_env - source build_env/bin/activate - python -m pip install numpy scipy cython --upgrade - python -m pip install twine build --upgrade - python -m pip install cibuildwheel==2.20.0 - cd genieclust/genieclust - - - name: Install requirements - run: python -m pip install -r requirements.txt --upgrade - - - name: Build wheels - run: python -m cibuildwheel --output-dir wheelhouse + python -m pip install --upgrade pip + python -m pip install --upgrade twine build wheel + python -m pip install --upgrade numpy scipy cython + python -m pip install --upgrade -r requirements.txt + python -m pip install --upgrade cibuildwheel + python -m cibuildwheel --output-dir wheelhouse - uses: actions/upload-artifact@v4 with: