From e037d560f51b4e3e4c84cee6446adb28464edd58 Mon Sep 17 00:00:00 2001 From: Carlos Abraham Date: Sun, 2 Sep 2018 00:45:50 -0400 Subject: [PATCH] Set the LONG_DESCRIPTION with the README content --- setup.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index bd802702..230f4afe 100644 --- a/setup.py +++ b/setup.py @@ -16,15 +16,8 @@ from setuptools import setup - -LONG_DESCRIPTION = """ -Python Fire is a library for automatically generating command line interfaces -(CLIs) with a single line of code. - -It will turn any Python module, class, object, function, etc. (any Python -component will work!) into a CLI. It's called Fire because when you call Fire(), -it fires off your command. -""".strip() +with open('README.md', 'r') as readme: + LONG_DESCRIPTION = readme.read() SHORT_DESCRIPTION = """ A library for automatically generating command line interfaces.""".strip() @@ -47,6 +40,7 @@ version=VERSION, description=SHORT_DESCRIPTION, long_description=LONG_DESCRIPTION, + long_description_content_type = 'text/markdown', url=URL, author='David Bieber',