summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-12-26 10:16:25 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-12-26 10:16:25 -0500
commit3a7e7f2691751efc0aca93a6a1c39c54618f2d85 (patch)
treed4aaae140a88a5b2dd1daf3fcbac4f95caf2d0ad
parenta7e077d82cce13ec0aa4f2e5568c246432190fe9 (diff)
downloadcherrypy-git-3a7e7f2691751efc0aca93a6a1c39c54618f2d85.tar.gz
Build a universal wheel now that the package is uniform across Python 2 and Python 3v8.5.0
-rw-r--r--.travis.yml2
-rw-r--r--setup.cfg3
-rw-r--r--should-release.py9
3 files changed, 4 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index cebc9f67..b5e0daac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,7 +31,7 @@ deploy:
provider: pypi
on:
tags: true
- condition: $(python should-release.py) == "yes"
+ python: 3.5
user: jaraco
password:
secure: CQqUvtssQ4wmRluPcxh6m5lIXi83Qu9dAFAvZLS/+AQNIG78XECXv5xFTEdGSLX9yncKDpDKI3xRJeCKyO4OJUN0t6W1MRycY72+R63i9e9wPjfvtRqYH1TBT+no7jj/DHqXIrWSlpjRNAt4XXeSv7OzKWT4PmTNkNQSKyS1DWCmZGlbCKlV774Z9PbrfltflxL0V6DiX6ZfoY1THBO4rIopjMk/MPLgS5zvwLgXVbT9sK/DcPOgOq47iSLCs0oScbwiFzYW4DbcVZrBMv4ALtQTjk6ZEaBQ7KtKgsyxgi/ToVhjRxYg4rwvhjsyjixUdECLUqL3WgWfzW/lo82lhb79ERwhnjf1DvPNexlXhv9hHwHsFROpaOmM0nyDJsJg0rCNPVfO4SpBHEnd/ujlHO6yorHj0S54jZWqqDwD5gN19v3hEMT48Pc8uvazE9K1kMQbNXEzqn+SJjVB+DG7qK5Jm9Kk7ZC4R88hJAJNsR+SlFCXMGzkS9WUefUGLHQFfezZk43sMPIXMnh9d2XqCQo4QpUawdg3pwaTukFfyaHlK39CIHhZNas5D/UFL5spQPAAkH1IMcPILiSUwYYnXIJFWJIiulfEQalJroAQjrzvst/NVB8BbeYuCfmVLVOZw8Y6GOYONGgiXjT3nfmw/dN+uw+GY3EgAV5jl+fa434=
diff --git a/setup.cfg b/setup.cfg
index ce7bf4b8..6c756a3b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[aliases]
release = sdist bdist_wheel
+
+[wheel]
+universal = 1
diff --git a/should-release.py b/should-release.py
deleted file mode 100644
index 91d6f6f8..00000000
--- a/should-release.py
+++ /dev/null
@@ -1,9 +0,0 @@
-"""
-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)