Skip to content

Commit 1bd00b3

Browse files
author
user
committed
fix pypi script
1 parent d730322 commit 1bd00b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pypi-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
- name: Install Tools
1616
run: |
1717
python -m pip install --upgrade pip
18-
pip install setuptools wheel twine
18+
pip install build packaging setuptools wheel twine
1919
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2020
- name: Build and Publish
2121
env:
2222
TWINE_USERNAME: __token__
2323
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
2424
run: |
25-
python setup.py sdist bdist_wheel
25+
python3 -m build --wheel --no-isolation
2626
twine upload dist/*

0 commit comments

Comments
 (0)