Skip to content

Commit

Permalink
Admin: add pyproject.toml and ship wheel to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
jmahlik committed Oct 19, 2023
1 parent 527c727 commit 7f6d99c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools twine
python -m pip install build twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist
python -m build .
twine upload dist/*
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
requires = [
"setuptools",
]
build-backend = "setuptools.build_meta"

0 comments on commit 7f6d99c

Please sign in to comment.