mirror of
https://github.com/meshtastic/python.git
synced 2026-05-25 00:35:21 -04:00
Ready for first release on pypi
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,4 @@
|
|||||||
README
|
README
|
||||||
|
build
|
||||||
|
dist
|
||||||
|
*.egg-info
|
||||||
@@ -18,8 +18,8 @@ interface = meshtastic.StreamInterface() # By default will try to find a meshtas
|
|||||||
interface.sendData("hello world")
|
interface.sendData("hello world")
|
||||||
```
|
```
|
||||||
|
|
||||||
For the rough notes/implementation plan see [TODO](./TODO.md).
|
For the rough notes/implementation plan see [TODO](https://github.com/meshtastic/Meshtastic-python/TODO.md).
|
||||||
|
|
||||||
## Command line tool
|
## Command line tool
|
||||||
|
|
||||||
This pip package will also install a "meshtastic" commandline executable, which displays packets sent over the network as JSON and lets you see serial debugging information from the meshtastic devices. The source code for this tool is also a good [example](./meshtastic/__main__.py) of a 'complete' application that uses the meshtastic python API.
|
This pip package will also install a "meshtastic" commandline executable, which displays packets sent over the network as JSON and lets you see serial debugging information from the meshtastic devices. The source code for this tool is also a good [example](https://github.com/meshtastic/Meshtastic-python/meshtastic/__main__.py) of a 'complete' application that uses the meshtastic python API.
|
||||||
|
|||||||
7
setup.py
7
setup.py
@@ -4,11 +4,16 @@ from setuptools import setup
|
|||||||
# The directory containing this file
|
# The directory containing this file
|
||||||
HERE = pathlib.Path(__file__).parent
|
HERE = pathlib.Path(__file__).parent
|
||||||
|
|
||||||
|
with open("README.md", "r") as fh:
|
||||||
|
long_description = fh.read()
|
||||||
|
|
||||||
# This call to setup() does all the work
|
# This call to setup() does all the work
|
||||||
setup(
|
setup(
|
||||||
name="meshtastic",
|
name="meshtastic",
|
||||||
version="0.5.0",
|
version="0.5.1",
|
||||||
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_content_type="text/markdown",
|
||||||
url="https://github.com/meshtastic/Meshtastic-python",
|
url="https://github.com/meshtastic/Meshtastic-python",
|
||||||
author="Kevin Hester",
|
author="Kevin Hester",
|
||||||
author_email="kevinh@geeksville.com",
|
author_email="kevinh@geeksville.com",
|
||||||
|
|||||||
Reference in New Issue
Block a user