From eeacd3995ee126f1854abc22d5b145ef84a6fa21 Mon Sep 17 00:00:00 2001 From: wangweichen Date: Thu, 19 Apr 2018 14:29:24 +0800 Subject: [PATCH] add md version release. --- .travis.yml | 19 +++++++++++++------ setup.py | 1 + weibopy/__init__.py | 2 +- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 775f66b..470edbd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,10 @@ -# https://docs.travis-ci.com/ language: python -sudo: no +sudo: false python: - - "3.4" - - "3.5" - - "3.6" + - '3.5' + - '3.6' cache: pip @@ -20,6 +18,15 @@ script: - py.test -v --cov=weibopy --cov-report xml after_success: - # run codecov report + # run codecov report - codecov -e $TRAVIS_PYTHON_VERSION +deploy: + provider: pypi + user: nooperpudd + password: + secure: AuuY5Ora7Qk4n5ZMVVq+BkF7ZQx9xSg9Tj6Ar6tl3ZXa0tPcbzx9honrkp36F8LQcSswN/Ibi+ko3xWoE2NPIQzwzj+EjEZj0U1LTQx2dC+9r6HQhsvOACbyvOdI7X7uAPy6VuXN0On4USsCHomD7jvUD4On3dkNxyxMrzQWC/tu4ds3zWzbeK9qz7lhPzYZX35LnxRfkwCf0XFiJldJGr7dlSLPL9V4rhz/hrACM2JVmcP4N+LCDad43vz0lIvV0wxevZdYm4rCyObhlkxRikuCA0ddvRj5sBBFvp85IkYXWdKNKtpyU4aklruXdguKNQLTMrV6ERRL2dkff9okXYTTDCYcEQL4sC5Js0pr5jmKhB6wWMU8EUHWbchiXNP7ZXQoHmKuoafphS+r+Ygtln9XYcO6t/UpPN258Vg8DUxVTRdM1b3KMwMannomiQvO8VBm+8XWJm5uDQE0xByUKl1ranxTA8BzhjZEd9FCIqSsRzAhjo43PmmxvsPngqGn3WRyj0RIDEPD6ROdGtq0ysji8jLsZq7zkcteSp7BtK0C3BVfqGFpCbcYVHg1Z2AP751IgAE3uFm1ZK2PsQUfcgDxrYuNUxU4OWBNxZfJmcAkBSHAlX+rZ1cFm5ny+ZZhNbSIp/XvyrbyqtVE8Ik5CZ6YZNhVS3vWw0ZwUHlrG9o= + distributions: sdist + on: + tags: true + python: '3.6' diff --git a/setup.py b/setup.py index bfda8e7..02d1aab 100644 --- a/setup.py +++ b/setup.py @@ -30,6 +30,7 @@ def find_version(*file_paths): version=find_version("weibopy", "__init__.py"), description="Sina Weibo API SDK", long_description=codecs.open("README.md", encoding="utf-8").read(), + long_description_content_type='text/markdown', author="Winton Wang", url="https://github.com/nooperpudd/weibopy", license="BSD", diff --git a/weibopy/__init__.py b/weibopy/__init__.py index eaa00bf..5154bfa 100644 --- a/weibopy/__init__.py +++ b/weibopy/__init__.py @@ -11,4 +11,4 @@ "WeiboRequestError" ] -__version__ = '0.1.1' +__version__ = '0.1.2'