Skip to content

Commit f2deb31

Browse files
CopilotMMathisLab
andauthored
Replace make dist with python -m build in PyPI workflow (#160)
* Initial plan * Replace make dist with python -m build in PyPI workflow Co-authored-by: MMathisLab <28102185+MMathisLab@users.noreply.github.com> * Reorder pip install to place build before twine Co-authored-by: MMathisLab <28102185+MMathisLab@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MMathisLab <28102185+MMathisLab@users.noreply.github.com>
1 parent b62454b commit f2deb31

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
pip install --upgrade pip
4242
pip install wheel
4343
pip install "packaging>=24.2"
44+
pip install build
4445
pip install twine
4546
4647
- name: Checkout code
@@ -52,7 +53,7 @@ jobs:
5253
TWINE_USERNAME: __token__
5354
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
5455
run: |
55-
make dist
56+
python -m build
5657
ls dist/
57-
tar tvf dist/deeplabcut-live-*.tar.gz
58+
tar tvf dist/deeplabcut_live-*.tar.gz
5859
python3 -m twine upload --verbose dist/*

0 commit comments

Comments
 (0)