Skip to content

Commit

Permalink
move from setuptools cli to pypa/build (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkohler authored Jan 22, 2025
1 parent f44f09a commit 8ff3443
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 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
twine upload --verbose dist/*
python -m build
twine check dist/*
twine upload dist/*

0 comments on commit 8ff3443

Please sign in to comment.