Skip to content

Commit 52fbd8d

Browse files
committed
Use repo README.md as long description for the wheel package
1 parent 8521b2b commit 52fbd8d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ def run(self):
148148
print('A copy of the license has been installed at: ' + bcolors.WARNING + license_file + bcolors.ENDC)
149149

150150

151+
def read(fname):
152+
return open(os.path.join(os.path.dirname(__file__), fname)).read()
153+
154+
151155
for scheme in INSTALL_SCHEMES.values():
152156
scheme['data'] = scheme['purelib']
153157

@@ -156,7 +160,8 @@ def run(self):
156160
name='wirecloud',
157161
version=wirecloud.platform.__version__,
158162
description='Widgets Container and Mashup edition tools for composing end-user centric mashup applications.',
159-
long_description='',
163+
long_description=read('../README.md'),
164+
long_description_content_type="text/markdown",
160165
author='CoNWeT Lab',
161166
author_email='wirecloud@conwet.com',
162167
url='http://github.com/Wirecloud/wirecloud',

0 commit comments

Comments
 (0)