Skip to content

Commit 75f37f1

Browse files
committed
Updated CI script to not require setup.py
1 parent c4bbc86 commit 75f37f1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ci.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pip install -U pip setuptools wheel
1010

1111
if [ "$CHECK_FORMATTING" = "1" ]; then
1212
pip install yapf==${YAPF_VERSION}
13-
if ! yapf -rpd setup.py sniffio; then
13+
if ! yapf -rpd sniffio; then
1414
cat <<EOF
1515
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1616
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -43,8 +43,7 @@ EOF
4343
exit 0
4444
fi
4545

46-
python setup.py sdist --formats=zip
47-
pip install dist/*.zip
46+
pip install .
4847

4948
# Actual tests
5049
pip install -Ur test-requirements.txt

0 commit comments

Comments
 (0)