Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias314 committed Aug 7, 2024
1 parent 2460690 commit b65e6cb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/sortednp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,19 @@ jobs:
run: |
cd sortednp
sed -i 's/.*numpy>.*/ install_requires=["numpy>=${NUMPY_VERSION}"],/g' setup.py
rm requirements.txt
cat pyproject.toml
cat setup.py
- name: Patch to include Python3.12 in MacOS
if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14'}}
run: |
cd sortednp
sed -i '' 's/.*numpy>.*/ install_requires=["numpy>=${NUMPY_VERSION}"],/g' setup.py
rm requirements.txt
- name: Patch to include Python3.12 in Windows
if: ${{ matrix.os == 'windows-latest'}}
run: |
cd sortednp
powershell -command "(Get-Content setup.py) -replace '.*numpy>.*', ' install_requires=["numpy>=$env:NUMPY_VERSION"],' | Set-Content setup.py"
rm requirements.txt
powershell -command "(Get-Content setup.py) -replace '.*numpy>.*', ' install_requires=[\"numpy>=$env:NUMPY_VERSION\"],' | Set-Content setup.py"
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==${CIBW_VERSION}
Expand Down

0 comments on commit b65e6cb

Please sign in to comment.