Skip to content

Update setup.py

Update setup.py #7

Workflow file for this run

name: Publish Python package
on:
push:
tags:
- 'v*.*.*' # Publishes only when a tag like v1.0.0 is pushed
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install build dependencies
run: python -m pip install --upgrade pip setuptools wheel
- name: Build the package
run: python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.3
with:
password: ${{ secrets.PYPI_API_TOKEN }}