File tree Expand file tree Collapse file tree 4 files changed +44
-12
lines changed
Expand file tree Collapse file tree 4 files changed +44
-12
lines changed Original file line number Diff line number Diff line change 1+ # This workflows uploads a Python Package using Flit when a release is created
2+ # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+ name : Publish
5+
6+ on :
7+ release :
8+ types : [published]
9+
10+ jobs :
11+ publish :
12+ name : Upload a release to PyPI
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+
17+ - name : Setup Python
18+ uses : actions/setup-python@v3
19+ with :
20+ python-version : 3.9
21+
22+ - name : Install Flit
23+ run : |
24+ python -m pip install flit
25+
26+ - name : Publish
27+ env :
28+ FLIT_USERNAME : __token__
29+ FLIT_PASSWORD : ${{ secrets.PYPI_TOKEN }}
30+ run : python -m flit publish
Original file line number Diff line number Diff line change 55
66Use the GoDice Python API to integrate GoDice functionality into your own Python applications
77
8+ ![ PyPI - Version] ( https://img.shields.io/pypi/v/godice )
9+
810** Supported features:**
911
1012* Turn ON/OFF GoDice RGB LEDs
@@ -15,20 +17,10 @@ Use the GoDice Python API to integrate GoDice functionality into your own Python
1517
1618## Installation
1719
18- - once deployed to PyPI
19-
2020```
2121pip install godice
2222```
2323
24- - meanwhile, to install a local copy
25- 1 . Clone the repo
26- 2 . cd into the root dir
27- 3 . Install a local copy
28- ```
29- pip install .
30- ```
31-
3224## Demo
3325
3426Package includes a demo script showing up API features. Command to run it:
Original file line number Diff line number Diff line change 11"""
2- GoDice Python API
2+ Use the GoDice Python API to integrate GoDice functionality into your own Python applications
33"""
44__version__ = "0.1.0"
55
Original file line number Diff line number Diff line change @@ -4,7 +4,17 @@ build-backend = "flit_core.buildapi"
44
55[project ]
66name = " godice"
7- authors = [{name = " Particula" , email = " iavtomator@gmail.com" }]
7+ authors = [
8+ {name = " Guy Levi" , email = " todo_update@it.com" },
9+ {name = " Anton Ptashnik" , email = " iavtomator@gmail.com" },
10+ ]
11+ license = {file = " LICENSE.md" }
12+ classifiers = [
13+ " Framework :: AsyncIO" ,
14+ " Operating System :: Microsoft :: Windows :: Windows 10" ,
15+ " Operating System :: POSIX :: Linux" ,
16+ " Operating System :: MacOS" ,
17+ ]
818readme = " README.md"
919dynamic = [" version" , " description" ]
1020dependencies = [
You can’t perform that action at this time.
0 commit comments