Skip to content

Commit b4a0b33

Browse files
committed
ci: avoid running setup.py directly for build
* Use "python -m build" instead of invoking setup.py directly. * https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
1 parent 477b206 commit b4a0b33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
python-version: '3.12'
6161
- name: Build PyPI package
6262
run: |
63-
pip install --upgrade pip setuptools wheel
64-
python setup.py sdist bdist_wheel
63+
pip install build
64+
python -m build
6565
- name: Publish distribution to PyPI
6666
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)