Skip to content

Commit 1fb064f

Browse files
committed
Update wheel creation with pyproject
1 parent 5e77fad commit 1fb064f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,13 @@ jobs:
4343
- name: Create wheel
4444
if: startsWith(github.ref, 'refs/tags')
4545
run: |
46-
pip install wheel
47-
python setup.py sdist bdist_wheel
46+
pip install build
47+
python -m build
48+
mkdir wheelhouse
49+
cp dist/gatetools-* wheelhouse/
50+
ls wheelhouse
51+
rm -r dist
52+
mv wheelhouse dist
4853
- name: Publish distribution to PyPI
4954
if: startsWith(github.ref, 'refs/tags')
5055
uses: pypa/gh-action-pypi-publish@master

0 commit comments

Comments
 (0)