Move to pip API.

This commit is contained in:
aouinizied 2020-05-06 05:14:24 +02:00
parent e5459a5112
commit 40e4e428af

View file

@ -29,18 +29,16 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v1
if: startsWith(runner.os, 'Linux')
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Get pip cache dir
id: pip-cache
run: |
python -m pip install --upgrade pip setuptools wheel
echo "::set-output name=dir::$(pip cache dir)"
- uses: actions/cache@v1
if: startsWith(runner.os, 'macOS')
- name: Pip cache
uses: actions/cache@v1
with:
path: ~/Library/Caches/pip
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
@ -57,7 +55,6 @@ jobs:
brew install autoconf automake libtool pkg-config
- name: Installing package dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install wheel twine setuptools codecov
pip install -r requirements.txt
python setup.py bdist_wheel