diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-07-07 17:12:59 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-07-07 17:12:59 +0000 |
commit | 0746b9b166c50ce168fc70e241332b8ae990f88f (patch) | |
tree | d4a779f704937f6285a8553dc4dfa57b5ab5579e | |
parent | f4f2e6c261b62698eb31e2fc78a2777e54b72594 (diff) | |
parent | 13494098e2941ff87d80710ecc00c35142851175 (diff) | |
download | python-swiftclient-0746b9b166c50ce168fc70e241332b8ae990f88f.tar.gz |
Merge "Add python version constraint python>=2.7"
-rw-r--r-- | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -15,7 +15,11 @@ # limitations under the License. # THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT -import setuptools +import setuptools, sys + +if sys.version_info < (2, 7): + sys.exit('Sorry, Python < 2.7 is not supported for' + ' python-swiftclient>=3.0') setuptools.setup( setup_requires=['pbr'], |