From 046ffa432928010ea051e74aec6f345e7cb9136a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 Aug 2022 12:14:52 +1000 Subject: [PATCH] added pypi description --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 05271e87f..11b666840 100644 --- a/setup.py +++ b/setup.py @@ -105,10 +105,14 @@ def run(self): # distutils uses old-style classes, so no super() build_py.run(self) +with open("README.md", "r", encoding = "utf-8") as fh: + long_description = fh.read() setup (name = 'pymavlink', version = __version__, description = 'Python MAVLink code', + long_description = long_description, + long_description_content_type = "text/markdown", long_description = ('A Python library for handling MAVLink protocol streams and log files. This allows for the ' 'creation of simple scripts to analyse telemetry logs from autopilots such as ArduPilot which use ' 'the MAVLink protocol. See the scripts that come with the package for examples of small, useful '