Skip to content

Commit

Permalink
move from setuptools cli to pypa/build
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkohler committed Jan 22, 2025
1 parent 1e00b7b commit 4f39642
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel twine setuptools
pip install twine build
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python -m build
twine check dist/*
twine upload dist/*

0 comments on commit 4f39642

Please sign in to comment.