superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Make Pypi upload support markdown (#5352)
Date Mon, 16 Jul 2018 19:28:00 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 996304a  Make Pypi upload support markdown (#5352)
996304a is described below

commit 996304aba9af1a1702827c0218001bc198d362bf
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Mon Jul 16 12:27:57 2018 -0700

    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
---
 pypi_push.sh | 3 ++-
 setup.py     | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/pypi_push.sh b/pypi_push.sh
index 1c15cdd..48d2e30 100755
--- a/pypi_push.sh
+++ b/pypi_push.sh
@@ -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"
 
diff --git a/setup.py b/setup.py
index bb21688..614d882 100644
--- a/setup.py
+++ b/setup.py
@@ -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,


Mime
View raw message