Use `build` instead of calling setup.py

Signed-off-by: Aarni Koskela <akx@iki.fi>
This commit is contained in:
Aarni Koskela 2023-12-21 10:35:28 +02:00
parent bd164f928a
commit f128956034
1 changed files with 3 additions and 3 deletions

View File

@ -26,10 +26,10 @@ jobs:
with:
python-version: '3.x'
- name: Generate Pacakge
- name: Generate Package
run: |
pip3 install setuptools wheel
python setup.py sdist bdist_wheel
pip3 install build
python -m build .
env:
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_DOCKER: ${{ inputs.tag }}