Skip to content

Commit

Permalink
Release wheels on both Python 3 and Python 2. Fixes #1532.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 26, 2016
1 parent 4360696 commit 074e577
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -31,7 +31,7 @@ deploy:
provider: pypi
on:
tags: true
python: 3.5
condition: $(python should-release.py) == "yes"
user: jaraco
password:
secure: CQqUvtssQ4wmRluPcxh6m5lIXi83Qu9dAFAvZLS/+AQNIG78XECXv5xFTEdGSLX9yncKDpDKI3xRJeCKyO4OJUN0t6W1MRycY72+R63i9e9wPjfvtRqYH1TBT+no7jj/DHqXIrWSlpjRNAt4XXeSv7OzKWT4PmTNkNQSKyS1DWCmZGlbCKlV774Z9PbrfltflxL0V6DiX6ZfoY1THBO4rIopjMk/MPLgS5zvwLgXVbT9sK/DcPOgOq47iSLCs0oScbwiFzYW4DbcVZrBMv4ALtQTjk6ZEaBQ7KtKgsyxgi/ToVhjRxYg4rwvhjsyjixUdECLUqL3WgWfzW/lo82lhb79ERwhnjf1DvPNexlXhv9hHwHsFROpaOmM0nyDJsJg0rCNPVfO4SpBHEnd/ujlHO6yorHj0S54jZWqqDwD5gN19v3hEMT48Pc8uvazE9K1kMQbNXEzqn+SJjVB+DG7qK5Jm9Kk7ZC4R88hJAJNsR+SlFCXMGzkS9WUefUGLHQFfezZk43sMPIXMnh9d2XqCQo4QpUawdg3pwaTukFfyaHlK39CIHhZNas5D/UFL5spQPAAkH1IMcPILiSUwYYnXIJFWJIiulfEQalJroAQjrzvst/NVB8BbeYuCfmVLVOZw8Y6GOYONGgiXjT3nfmw/dN+uw+GY3EgAV5jl+fa434=
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
@@ -1,3 +1,9 @@
v8.4.0
-----

* #1532: Also release wheels for Python 2, enabling
offline installation.

v8.3.1
-----

Expand Down
9 changes: 9 additions & 0 deletions should-release.py
@@ -0,0 +1,9 @@
"""
Used by Travis script to trigger deployment only on
one version of Python 2 and Python 3.
"""

import sys
short_ver = sys.version_info[:2]
msg = "yes" if short_ver in [(3, 5), (2, 7)] else "no"
print(msg)

0 comments on commit 074e577

Please sign in to comment.