mirror of
https://github.com/meshtastic/python.git
synced 2026-01-15 11:18:05 -05:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69b2599abb | ||
|
|
533e50de9d | ||
|
|
12b99f80dc | ||
|
|
0193ca052f | ||
|
|
e0af620cbe | ||
|
|
80367232ae |
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Create GitHub release
|
- name: Create GitHub release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
id: create_release
|
id: create_release
|
||||||
@@ -97,7 +97,7 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install .
|
pip install .
|
||||||
pyinstaller -F -n meshtastic --collect-all meshtastic --codesign-identity "$MACOS_SIGNING_IDENTITY" meshtastic/__main__.py
|
pyinstaller -F -n meshtastic --collect-all meshtastic --codesign-identity "$MACOS_SIGNING_IDENTITY" meshtastic/__main__.py
|
||||||
|
|
||||||
- name: Add mac to release
|
- name: Add mac to release
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
@@ -107,12 +107,12 @@ jobs:
|
|||||||
asset_path: dist/meshtastic
|
asset_path: dist/meshtastic
|
||||||
asset_name: meshtastic_mac
|
asset_name: meshtastic_mac
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
build-and-publish-ubuntu:
|
build-and-publish-ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: release_create
|
needs: release_create
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install .
|
pip install .
|
||||||
pyinstaller -F -n meshtastic --collect-all meshtastic meshtastic/__main__.py
|
pyinstaller -F -n meshtastic --collect-all meshtastic meshtastic/__main__.py
|
||||||
|
|
||||||
- name: Add ubuntu to release
|
- name: Add ubuntu to release
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
@@ -137,6 +137,16 @@ jobs:
|
|||||||
asset_path: dist/meshtastic
|
asset_path: dist/meshtastic
|
||||||
asset_name: meshtastic_ubuntu
|
asset_name: meshtastic_ubuntu
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
|
- name: Add readme.txt to release
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ needs.release_create.outputs.upload_url }}
|
||||||
|
asset_path: standalone_readme.txt
|
||||||
|
asset_name: readme.txt
|
||||||
|
asset_content_type: text/plain
|
||||||
|
|
||||||
build-and-publish-windows:
|
build-and-publish-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -12,7 +12,7 @@ with open("README.md", "r") as fh:
|
|||||||
# This call to setup() does all the work
|
# This call to setup() does all the work
|
||||||
setup(
|
setup(
|
||||||
name="meshtastic",
|
name="meshtastic",
|
||||||
version="1.2.73",
|
version="1.2.75",
|
||||||
description="Python API & client shell for talking to Meshtastic devices",
|
description="Python API & client shell for talking to Meshtastic devices",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
7
standalone_readme.txt
Normal file
7
standalone_readme.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
readme.txt for single standalone executable zip files that can be
|
||||||
|
downloaded from https://github.com/meshtastic/Meshtastic-python/releases
|
||||||
|
|
||||||
|
If you do not want to install python and/or the python libraries, you can download one of these
|
||||||
|
zip files to run the Meshtastic command line interface (CLI) as a standalone executable.
|
||||||
|
|
||||||
|
See https://meshtastic.org/docs/software/python/python-standalone for more info.
|
||||||
Reference in New Issue
Block a user