File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build-and-publish :
9+ name : Build and Publish Python Package
10+ runs-on : ubuntu-latest
11+
12+ permissions :
13+ id-token : write
14+
15+ steps :
16+ - name : Checkout Code
17+ uses : actions/checkout@v4
18+
19+ - name : Set up Python
20+ uses : actions/setup-python@v5
21+ with :
22+ python-version : " 3.11"
23+
24+ - name : Install Build Tool
25+ run : python -m pip install --upgrade pip build
26+
27+ - name : Build Wheel and Tarball
28+ run : python -m build
29+
30+ - name : Publish Package to PyPI
31+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools>=61.0.0" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " streamcontroller-streamdeck"
7+ description = " Library to control Elgato StreamDeck devices."
8+ readme = " README.md"
9+ requires-python = " >=3.9"
10+ license = {text = " MIT" }
11+ authors = [
12+ {name = " Core447" , email = " core447@proton.me" }
13+ ]
14+ classifiers = [
15+ " Programming Language :: Python :: 3" ,
16+ " License :: OSI Approved :: MIT License" ,
17+ " Operating System :: OS Independent" ,
18+ ]
19+ dependencies = []
20+ dynamic = [" version" ]
21+
22+ [project .urls ]
23+ Homepage = " https://github.com/StreamController/sc-python-elgato-streamdeck"
24+
25+ [tool .setuptools ]
26+ include-package-data = true
27+
28+ [tool .setuptools .packages .find ]
29+ where = [" src" ]
30+
31+ [tool .setuptools .dynamic ]
32+ version = {file = [" VERSION" ]}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments