From c37978f1f2d37931fe8077ae314c520d82f12d11 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Thu, 28 Mar 2019 20:50:04 +0100 Subject: [PATCH] Added loading of README to setup.py --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.py b/setup.py index 6e6cc7543..a262b022d 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,10 @@ with open("requirements.txt") as data: if line and not line.startswith("#") ] +# Load README contents +with open("README.md") as data: + long_description = data.read() + # Package description setup( name = package["name"], @@ -39,6 +43,8 @@ setup( url = package["homepage"], license = package["license"], description = package["description"], + long_description = long_description, + long_description_content_type = "text/markdown", author = package["author"]["name"], author_email = package["author"]["email"], keywords = package["keywords"],