From d6a3d6b6f818279667c4a721e68a08db995049fc Mon Sep 17 00:00:00 2001 From: Ahmad Faizal B H Date: Thu, 5 Nov 2020 15:54:18 +0530 Subject: [PATCH] Update setup.py --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f545f130..6409dd57 100755 --- a/setup.py +++ b/setup.py @@ -6,6 +6,10 @@ version = chatbot.__version__ LANGUAGE_SUPPORT = chatbot.LANGUAGE_SUPPORT package_data = [] + +with open("README.md", "r") as fh: + long_description = fh.read() + for language in LANGUAGE_SUPPORT: package_data.extend([ "local/%s/default.template" % language, @@ -20,7 +24,8 @@ url="https://github.com/ahmadfaizalbh/Chatbot", description="A chatbot AI engine is a chatbot builder platform that provids both bot intelligence and" " chat handler with minimal codding", - long_description=open("README.rst").read(), + long_description=long_description, + long_description_content_type="text/markdown", packages=['chatbot', 'chatbot.spellcheck', 'chatbot.substitution'], license='MIT', keywords='chatbot ai engine and chat builder platform',