Skip to content

Commit dfe8f2d

Browse files
committed
use build
1 parent 316c66a commit dfe8f2d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/publish-pypi.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
python-version: "3.x"
2828
- name: Install packaging libraries
2929
run: |
30-
python -m pip install wheel
30+
python -m pip install build setuptools
3131
- name: Build a binary wheel and a source tarball
3232
run: |
33-
python setup.py sdist bdist_wheel
33+
python -m build --sdist --wheel .
3434
- name: Publish distribution 📦 to PyPI
3535
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/tag-testpypi.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
python-version: "3.x"
2828
- name: Install packaging libraries
2929
run: |
30-
python -m pip install wheel
30+
python -m pip install build setuptools
3131
- name: Build a binary wheel and a source tarball
3232
run: |
33-
python setup.py sdist bdist_wheel
33+
python -m build --sdist --wheel .
3434
- name: Publish distribution 📦 to Test PyPI
3535
uses: pypa/gh-action-pypi-publish@release/v1
3636
with:

0 commit comments

Comments
 (0)