diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2022-02-17 11:21:40 +0000 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2022-03-16 15:06:19 -0700 |
commit | 2636965f38a7788bbee19fc90088384834670b10 (patch) | |
tree | ba693b60748bdcea934e6a8434b158bc7fadeb91 /setup.py | |
parent | 22a05b2039d0178b52fa3546de8ab265df112636 (diff) | |
download | python-swiftclient-2636965f38a7788bbee19fc90088384834670b10.tar.gz |
Drop support for Python 2
There's a lot of cleanup possible, but this is a start.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Ia1176b7fd5434d52070d482a37abfbb98800cdb3
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -14,12 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT -import setuptools, sys - -if sys.version_info < (2, 7): - sys.exit('Sorry, Python < 2.7 is not supported for' - ' python-swiftclient>=3.0') +import setuptools setuptools.setup( setup_requires=['pbr'], |