Skip to content

Commit

Permalink
[REF] Use build instead of setup.py (#78)
Browse files Browse the repository at this point in the history
* [DOC] Update changelog, prepare `v0.0.3` release

* [FIX] Use PyPI token for upload

* [REF] Replace `pkg_resources` with `distutils` and `importlib`

* [REF] Enable verbose output of `twine`

* [REF] Use trusted publisher from PyPI

* [REF] Use `build` instead of `setup.py`
  • Loading branch information
f-dangel authored Jun 24, 2024
1 parent ccbfe97 commit bf77b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install build twine
- name: Build and publish
run: |
python setup.py sdist bdist_wheel
python -m build
twine upload --verbose dist/*

0 comments on commit bf77b50

Please sign in to comment.