Skip to content

fix dependencies in setup #7

fix dependencies in setup

fix dependencies in setup #7

Workflow file for this run

name: Publish Python Package
on:
push:
branches:
- main # Ensure it runs only on the main branch
tags:
- 'v*' # Triggers on version tags like v1.0, v1.0.1, etc.
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine setuptools-scm
- name: Build the package
run: python -m build
- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m twine upload dist/*