Skip to content

Commit cfbd3e7

Browse files
committed
ci: use pip install instead of setup.py develop
This is the modern way apparently.
1 parent f17569c commit cfbd3e7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/pypy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040

4141
- name: Build
4242
run: |
43-
python -m pip install --upgrade pip wheel
4443
python -m pip wheel -w wheelhouse .
4544
4645
test:
@@ -87,7 +86,7 @@ jobs:
8786
8887
- name: Build
8988
run: |
90-
python setup.py develop
89+
python -m pip install -e .
9190
9291
- name: Test
9392
run: |

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ jobs:
5858
- name: Build (Rust)
5959
if: matrix.arch == 'x64'
6060
run: |
61-
python setup.py --rust-backend develop
61+
python -m pip install --config-setting='--build-option=--rust-backend' -e .
6262
6363
- name: Build (No Rust)
6464
if: matrix.arch != 'x64'
6565
run: |
66-
python setup.py develop
66+
python -m pip install -e .
6767
6868
- name: Test C Backend
6969
run: |

0 commit comments

Comments
 (0)