From 52fbd8d4889a4a49d7f38ff5236b59cd37d05416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Arranz?= Date: Thu, 25 Oct 2018 01:29:52 +0200 Subject: [PATCH] Use repo README.md as long description for the wheel package --- src/setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/setup.py b/src/setup.py index b50b5cadd6..c0c6449c0b 100755 --- a/src/setup.py +++ b/src/setup.py @@ -148,6 +148,10 @@ def run(self): print('A copy of the license has been installed at: ' + bcolors.WARNING + license_file + bcolors.ENDC) +def read(fname): + return open(os.path.join(os.path.dirname(__file__), fname)).read() + + for scheme in INSTALL_SCHEMES.values(): scheme['data'] = scheme['purelib'] @@ -156,7 +160,8 @@ def run(self): name='wirecloud', version=wirecloud.platform.__version__, description='Widgets Container and Mashup edition tools for composing end-user centric mashup applications.', - long_description='', + long_description=read('../README.md'), + long_description_content_type="text/markdown", author='CoNWeT Lab', author_email='wirecloud@conwet.com', url='http://github.com/Wirecloud/wirecloud',