From f737d722e48fd5765cf2502b8c9f9cdd07705bb6 Mon Sep 17 00:00:00 2001 From: lucasheld Date: Wed, 3 Aug 2022 23:29:11 +0200 Subject: [PATCH] include readme as long_description in setup.py --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 2401bfb..036de6b 100644 --- a/setup.py +++ b/setup.py @@ -15,10 +15,15 @@ here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, "uptime_kuma_api", "__version__.py"), "r", "utf-8") as f: exec(f.read(), info) +with open("README.md", "r", "utf-8") as f: + readme = f.read() + setup( name=info["__title__"], version=info["__version__"], description="A python wrapper for the Uptime Kuma WebSocket API", + long_description=readme, + long_description_content_type="text/markdown", url="https://github.com/lucasheld/uptime-kuma-api", author=info["__author__"], author_email="lucasheld@hotmail.de",