Replace Python package build command
@@ -50,12 +50,12 @@ jobs:
- name: "Install Python dependencies"
run: |
pip install --no-cache-dir --upgrade pip setuptools wheel
- pip install --no-cache-dir --upgrade twine
+ pip install --no-cache-dir --upgrade build twine
pip install --no-cache-dir --quiet .
pip list
- name: "Build Python package"
run: |
- python setup.py sdist bdist_wheel --universal
+ python -m build --sdist --wheel --outdir dist .
- name: "Check Python package"
run: |
twine check dist/*
