Skip to content

Commit

Permalink
Use repo README.md as long description for the wheel package
Browse files Browse the repository at this point in the history
  • Loading branch information
aarranz committed Oct 24, 2018
1 parent 8521b2b commit 52fbd8d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']

Expand All @@ -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',
Expand Down

0 comments on commit 52fbd8d

Please sign in to comment.