From dd4bef0120cd102e5531aa735a278f1de8ab0fcc Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Wed, 13 Apr 2016 15:02:47 +0100 Subject: [PATCH 1/2] Update setup.cfg --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 04d1f5ab..652cc7a2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,3 +11,6 @@ universal = 1 [upload_docs] upload-dir = doc/build/html +[medatdata] +description-file = README.rst + From 2e803bb293084bcdfb57bcb8cbdfb49199799466 Mon Sep 17 00:00:00 2001 From: mzwiessele Date: Thu, 14 Apr 2016 07:42:30 +0100 Subject: [PATCH 2/2] [setup] pypi restrictions --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3cf32212..c3955e43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,9 +47,11 @@ before_deploy: - make html - cd ../ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; - then export DIST='sdist'; + then + export DIST='sdist'; elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; - then export DIST='bdist_wheel'; + then + export DIST='bdist_wheel'; fi; deploy: @@ -60,5 +62,6 @@ deploy: on: tags: true branch: deploy + condition: "$TRAVIS_OS_NAME" == "osx" || ( "$TRAVIS_OS_NAME" == "linux" && "$PYTHON_VERSION" == "2.7" ) distributions: $DIST skip_cleanup: true