1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00

Added loading of README to setup.py

This commit is contained in:
squidfunk 2019-03-28 20:50:04 +01:00
parent 56d04bb1a6
commit c37978f1f2

View File

@ -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"],