diff options
| author | Andreas Jaeger <aj@suse.com> | 2020-03-27 16:26:50 +0100 |
|---|---|---|
| committer | Andreas Jaeger <aj@suse.com> | 2020-03-30 20:00:41 +0200 |
| commit | f01a0f336c497584cc38e4396ee87282bdef1f5c (patch) | |
| tree | 11ba804482c67cda49115c56ca348157b7568029 /setup.py | |
| parent | 9754a67d5d1114c44cd917e887e422b28a648465 (diff) | |
| download | python-openstackclient-f01a0f336c497584cc38e4396ee87282bdef1f5c.tar.gz | |
Cleanup Python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add python-requires to setup.cfg so that pypi and pip know
about support Python version
- Remove ancient sections from setup.cfg
- Remove version_info setting from conf.py, openstackdocstheme does this
automatically nowadays.
Change-Id: I5b9c159752c932f874015f20822862c70562c2bd
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -13,17 +13,8 @@ # 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 -# In python < 2.7.4, a lazy loading of package `pbr` will break -# setuptools if some other modules registered functions in `atexit`. -# solution from: http://bugs.python.org/issue15881#msg170215 -try: - import multiprocessing # noqa -except ImportError: - pass - setuptools.setup( setup_requires=['pbr>=2.0.0'], pbr=True) |
