Make Pypi upload support markdown (#5352)

Moving to using Twine to upload to pypi and fixing up the markdown
support so that the page on Pypi looks like the README on Github.

This has been tested on the 0.26 branch starting 0.26.3
This commit is contained in:
Maxime Beauchemin 2018-07-16 12:27:57 -07:00 committed by GitHub
parent bd475879a4
commit 996304aba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -3,5 +3,6 @@ rm superset/assets/dist/*
cd superset/assets/
npm run build
cd ../..
python setup.py sdist upload
python setup.py sdist
echo "RUN: twine upload dist/superset-{VERSION}.tar.gz"

View File

@ -48,6 +48,7 @@ setup(
description=(
'A modern, enterprise-ready business intelligence web application'),
long_description=long_description,
long_description_content_type='text/markdown',
version=version_string,
packages=find_packages(),
include_package_data=True,