Skip to content

Commit e508c77

Browse files
committed
deprecate setup.py command
1 parent 1b7c478 commit e508c77

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,11 @@ jobs:
5252
export CXX=$(brew --prefix llvm@15)/bin/clang++
5353
export LDFLAGS="-L/usr/local/opt/libomp/lib"
5454
export CPPFLAGS="-I/usr/local/opt/libomp/include"
55-
python setup.py build
56-
find build/ -name "_C*.so" -exec cp {} ./torchlpc/ \;
55+
python -m pip install -e .
5756
- name: Build CPP extension with g++
5857
if: matrix.os == 'ubuntu-latest'
5958
run: |
60-
python setup.py build
61-
find build/ -name "_C*.so" -exec cp {} ./torchlpc/ \;
59+
python -m pip install -e .
6260
- name: Test with pytest
6361
run: |
6462
pytest

0 commit comments

Comments
 (0)