migrate to pyproject.toml

closes #1301
This commit is contained in:
Willi Ballenthin
2023-07-10 01:44:38 +02:00
parent 506d677684
commit dd2bbc9a48
4 changed files with 115 additions and 150 deletions

View File

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