mirror of
https://github.com/caronc/apprise.git
synced 2025-06-24 19:51:21 +02:00
setup.py deprecation workaround with --use-pep517 (#1168)
This commit is contained in:
parent
e30adb4dee
commit
313a70bf58
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@ -84,7 +84,7 @@ jobs:
|
|||||||
sudo apt-get install libdbus-1-dev
|
sudo apt-get install libdbus-1-dev
|
||||||
|
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
architecture: x64
|
architecture: x64
|
||||||
@ -98,25 +98,25 @@ jobs:
|
|||||||
|
|
||||||
- name: Install project dependencies (Baseline)
|
- name: Install project dependencies (Baseline)
|
||||||
run: |
|
run: |
|
||||||
pip install wheel
|
pip install --use-pep517 wheel
|
||||||
pip install -r requirements.txt -r dev-requirements.txt
|
pip install --use-pep517 -r requirements.txt -r dev-requirements.txt
|
||||||
|
|
||||||
- name: Install project dependencies (All plugins)
|
- name: Install project dependencies (All plugins)
|
||||||
if: matrix.bare != true
|
if: matrix.bare != true
|
||||||
run: |
|
run: |
|
||||||
pip install -r all-plugin-requirements.txt
|
pip install --use-pep517 -r all-plugin-requirements.txt
|
||||||
|
|
||||||
- name: Install project dependencies (Windows)
|
- name: Install project dependencies (Windows)
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
pip install -r win-requirements.txt || true
|
pip install --use-pep517 -r win-requirements.txt || true
|
||||||
|
|
||||||
# Install package in editable mode,
|
# Install package in editable mode,
|
||||||
# and run project-specific tasks.
|
# and run project-specific tasks.
|
||||||
- name: Setup project
|
- name: Setup project
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip setuptools wheel
|
python -m pip install --upgrade pip setuptools wheel
|
||||||
pip install --editable=.
|
pip install --use-pep517 --editable=.
|
||||||
python setup.py compile_catalog
|
python setup.py compile_catalog
|
||||||
|
|
||||||
# For saving resources, code style checking is
|
# For saving resources, code style checking is
|
||||||
|
Loading…
x
Reference in New Issue
Block a user