From 4395f2c1304a83702625d21d743111361d19b119 Mon Sep 17 00:00:00 2001 From: PatrickAlphaC Date: Sun, 20 Dec 2020 21:32:33 -0500 Subject: [PATCH] updated for markdown readme --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8c7df6b..53f0844 100644 --- a/setup.py +++ b/setup.py @@ -4,8 +4,8 @@ here = path.abspath(path.dirname(__file__)) try: - with open("README.md", "r") as fh: - long_description = fh.read() + with open(path.join(here, 'README.rst'), encoding='utf-8') as f: + long_description = f.read() except IOError: long_description = 'Python module to get stock data from the Alpha Vantage Api' @@ -16,6 +16,7 @@ author_email='romel.torres@gmail.com', license='MIT', description='Python module to get stock data from the Alpha Vantage Api', + long_description_content_type="text/markdown", long_description=long_description, classifiers=[ 'Development Status :: 5 - Production/Stable',