Skip to content

Commit 55323a8

Browse files
committed
Merging pull request 158
Signed-off-by: Lukáš Doktor <[email protected]> * github.com:autotest/aexpect: setup: Add long description to py module
2 parents 9b25ca7 + 954b9ff commit 55323a8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

setup.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,23 @@
1717

1818
from setuptools import setup
1919

20+
21+
def get_long_description():
22+
"""Returns the content of README.rst"""
23+
with open("README.rst", "r", encoding="utf-8") as req:
24+
req_contents = req.read()
25+
return req_contents
26+
27+
2028
if __name__ == "__main__":
2129
setup(
2230
name="aexpect",
2331
version="1.8.0",
2432
description="Aexpect",
2533
author="Aexpect developers",
2634
author_email="[email protected]",
35+
long_description=get_long_description(),
36+
long_description_content_type="text/markdown",
2737
url="http://avocado-framework.github.io/",
2838
license="GPLv2+",
2939
classifiers=[

0 commit comments

Comments
 (0)