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',