diff --git a/setup.py b/setup.py index 65d03f0..2925141 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,14 @@ from setuptools import setup + +def get_long_description(): + """Returns the content of README.rst""" + with open("README.rst", "r", encoding="utf-8") as req: + req_contents = req.read() + return req_contents + + if __name__ == "__main__": setup( name="aexpect", @@ -24,6 +32,8 @@ description="Aexpect", author="Aexpect developers", author_email="avocado-devel@redhat.com", + long_description=get_long_description(), + long_description_content_type="text/markdown", url="http://avocado-framework.github.io/", license="GPLv2+", classifiers=[