replaced setup.py with pyproject.toml

This commit is contained in:
Tim Rid 2025-10-27 19:33:50 +01:00 committed by timrid
parent fe19de7b48
commit a328767689
5 changed files with 81 additions and 74 deletions

View file

@ -21,11 +21,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install setuptools wheel build twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python -m build --wheel --sdist
twine upload dist/*