Skip to content

Add support for Python 3.13 #1

Add support for Python 3.13

Add support for Python 3.13 #1

Workflow file for this run

name: Publish to PyPI
on:
release:
types:
- published
workflow_dispatch:
inputs:
twine_verbose:
description: 'Enable Twine verbose mode'
required: true
type: boolean
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pyftdi
permissions:
id-token: write
strategy:
matrix:
python-version: ['3.13']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build package
run: |
python setup.py bdist_wheel
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: ${{ inputs.twine_verbose }}