Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@ on:

jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
environment: pypi
permissions:
# IMPORTANT: this permission is mandatory for Trusted Publishing
id-token: write

steps:
- uses: actions/checkout@v5
with:
ref: master
- name: Set up Python 3.12
uses: actions/setup-python@v6

- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@v7
with:
python-version: '3.12'
activate-environment: true

- name: Install setuptools
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel twine
- name: Install Packages
run: uv sync --frozen

- name: Build a binary wheel and a source tarball
run: |
python setup.py sdist bdist_wheel
- name: Build package
run: uv build

- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_api_key }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pyartnet"
version = "1.0.1"
version = "2.0"

description = "Python wrappers for the Art-Net protocol to send DMX over Ethernet"
keywords = ["DMX", "Art-Net", "ArtNet", "sACN", "E1.31", "KiNet"]
Expand Down