From 399cd834267d06325caee3bc00a01259d6c78c82 Mon Sep 17 00:00:00 2001 From: geeksville Date: Tue, 28 Apr 2020 15:29:20 -0700 Subject: [PATCH] Ready for first release on pypi --- .gitignore | 3 +++ README.md | 4 ++-- setup.py | 7 ++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e845566..99ac520 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ README +build +dist +*.egg-info \ No newline at end of file diff --git a/README.md b/README.md index 5ecc855..3a916f5 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ interface = meshtastic.StreamInterface() # By default will try to find a meshtas 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 -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. diff --git a/setup.py b/setup.py index 543ac30..80c9a7f 100644 --- a/setup.py +++ b/setup.py @@ -4,11 +4,16 @@ from setuptools import setup # The directory containing this file HERE = pathlib.Path(__file__).parent +with open("README.md", "r") as fh: + long_description = fh.read() + # This call to setup() does all the work setup( name="meshtastic", - version="0.5.0", + version="0.5.1", 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", author="Kevin Hester", author_email="kevinh@geeksville.com",