Skip to content

Adjust the code to the latest standards set by Python 3.12 (#86) #3

Adjust the code to the latest standards set by Python 3.12 (#86)

Adjust the code to the latest standards set by Python 3.12 (#86) #3

Workflow file for this run

name: Publish to PyPI
on:
push:
branches:
- master
jobs:
pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip"
- run: pip install -r requirements-deploy.txt
- run: python setup.py sdist bdist_wheel
- run: python -m twine upload --verbose dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI }}