MilesCranmer commited on
Commit
93a1cee
β€’
1 Parent(s): 8c81191

Update PyPI deploy to use `build`

Browse files
Files changed (1) hide show
  1. .github/workflows/pypi_deploy.yml +2 -2
.github/workflows/pypi_deploy.yml CHANGED
@@ -21,9 +21,9 @@ jobs:
21
  with:
22
  python-version: 3.10.8
23
  - name: "Install building tools"
24
- run: pip install wheel
25
  - name: "Build package"
26
- run: python setup.py sdist bdist_wheel
27
  - name: "Publish distribution πŸ“¦ to Test PyPI"
28
  uses: pypa/gh-action-pypi-publish@release/v1
29
  with:
 
21
  with:
22
  python-version: 3.10.8
23
  - name: "Install building tools"
24
+ run: pip install build
25
  - name: "Build package"
26
+ run: python -m build
27
  - name: "Publish distribution πŸ“¦ to Test PyPI"
28
  uses: pypa/gh-action-pypi-publish@release/v1
29
  with: