Skip to content

Commit

Permalink
build(auto-release): switch to python build module for package creation
Browse files Browse the repository at this point in the history
This commit replaces the traditional setup.py method for building the package with the newer python build module. This change is made to keep up with the latest best practices in Python packaging.
  • Loading branch information
ericmjl committed Mar 21, 2024
1 parent 519efbf commit ffa06c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ jobs:
- name: Build package
run: |
rm -f dist/*
python setup.py sdist bdist_wheel
pip install build
python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@master
Expand Down

0 comments on commit ffa06c4

Please sign in to comment.