Point setuptools to use standard library distutils as a fallback
@@ -21,11 +21,13 @@ jobs:
cache: pip
- name: Check packages
run: |
- python3 -m pip install wheel twine rstcheck;
+ python3 -m pip install -U pip setuptools wheel twine rstcheck;
python3 setup.py sdist bdist_wheel;
rstcheck README.rst CHANGES.rst
python3 -m twine check dist/*
test:
+ env:
+ SETUPTOOLS_USE_DISTUTILS: stdlib
strategy:
fail-fast: false
matrix:
@@ -91,7 +93,7 @@ jobs:
cache: pip
- name: Install Dependencies
- run: python -m pip install --upgrade nox
+ run: python -m pip install --upgrade pip setuptools nox
- name: Run Tests
run: ./ci/run_tests.sh
