Skip to content

Commit 5d225a4

Browse files
committed
setup: Add long description to py module
let's include our README into setuptools long description. Signed-off-by: Lukáš Doktor <[email protected]>
1 parent 9b25ca7 commit 5d225a4

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
@@ -15,15 +15,25 @@
1515

1616
"""Aexpect setup script"""
1717

18+
import os
1819
from setuptools import setup
1920

21+
22+
def get_long_description():
23+
with open('README.rst', 'r') 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)