Skip to content

Commit b73b624

Browse files
committed
Update PyPI upload CI
1 parent ffc2b69 commit b73b624

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
python-version: '3.9'
1616
- name: Install dependencies
1717
run: |
18-
python -m pip install --upgrade pip uv
19-
python -m uv pip install setuptools wheel twine
18+
pip install --upgrade pip uv
19+
uv pip install build twine
2020
- name: Build and publish
2121
env:
2222
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2323
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2424
run: |
25-
python setup.py sdist bdist_wheel
25+
python -m build
2626
twine upload dist/*

0 commit comments

Comments
 (0)