From commits-return-1205-archive-asf-public=cust-asf.ponee.io@superset.incubator.apache.org Mon Jul 16 21:28:02 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id EDCD918067A for ; Mon, 16 Jul 2018 21:28:01 +0200 (CEST) Received: (qmail 35137 invoked by uid 500); 16 Jul 2018 19:28:01 -0000 Mailing-List: contact commits-help@superset.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@superset.incubator.apache.org Delivered-To: mailing list commits@superset.incubator.apache.org Received: (qmail 35128 invoked by uid 99); 16 Jul 2018 19:28:01 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2018 19:28:01 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 78EFD8047C; Mon, 16 Jul 2018 19:28:00 +0000 (UTC) Date: Mon, 16 Jul 2018 19:28:00 +0000 To: "commits@superset.apache.org" Subject: [incubator-superset] branch master updated: Make Pypi upload support markdown (#5352) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <153176928028.7076.4562247850772334454@gitbox.apache.org> From: maximebeauchemin@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-superset X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: bd475879a47150dc549f06778cd8fa098089b16f X-Git-Newrev: 996304aba9af1a1702827c0218001bc198d362bf X-Git-Rev: 996304aba9af1a1702827c0218001bc198d362bf X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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,