Skip to content

Commit

Permalink
github action: switch to using python -m build
Browse files Browse the repository at this point in the history
move away from using setuptools, which isn't installed
by default in new version of python
  • Loading branch information
fruch committed Apr 4, 2024
1 parent dcfcd70 commit 205cd85
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,10 @@ jobs:
with:
python-version: '3.12'

- name: Build sdist
run: python setup.py sdist

- name: Build bdist_wheel
- name: Build package
run: |
pip install wheel
python setup.py bdist_wheel
pip install build
python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@master
Expand Down

0 comments on commit 205cd85

Please sign in to comment.