Skip to content

Commit

Permalink
Use pypa/build to build the package (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasr8 committed Jul 26, 2023
1 parent 45f8fc5 commit bf48278
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pypi_upload.yml
Expand Up @@ -17,17 +17,17 @@ jobs:
with:
python-version: 3.x

- name: Install latest pip, setuptools, twine + wheel
- name: Install latest pip, build & twine
run: |
python -m pip install --upgrade pip setuptools twine wheel
python -m pip install --upgrade pip build twine
- name: Build sdist + wheel
run: |
python setup.py bdist_wheel
python setup.py sdist
python -m build
- name: Upload to PyPI via Twine
env:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
twine check dist/*
twine upload --verbose -u '__token__' dist/*

0 comments on commit bf48278

Please sign in to comment.