setup: improve description (#5226)

* setup: improve description

* setup: use README.md as long_description

As pypy.io now should render markdown.
This commit is contained in:
Riccardo Magliocchetti
2018-06-18 17:42:48 +02:00
committed by Maxime Beauchemin
parent c89933d870
commit c670621012

View File

@@ -16,6 +16,9 @@ PACKAGE_FILE = os.path.join(PACKAGE_DIR, 'package.json')
with open(PACKAGE_FILE) as package_file:
version_string = json.load(package_file)['version']
with open('README.md') as readme:
long_description = readme.read()
def get_git_sha():
try:
@@ -42,8 +45,8 @@ with open(os.path.join(PACKAGE_DIR, 'version_info.json'), 'w') as version_file:
setup(
name='superset',
description=(
'A interactive data visualization platform build on SqlAlchemy '
'and druid.io'),
'A modern, enterprise-ready business intelligence web application'),
long_description=long_description,
version=version_string,
packages=find_packages(),
include_package_data=True,