Skip to content

Commit cd25bd0

Browse files
committed
Remove py27 support for future projects
Change-Id: I740c1f7a3ef14c342b3213dca8faeb02e66736bb
1 parent b67d3d3 commit cd25bd0

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Cookiecutter template for an OpenStack project. See https://github.com/audreyr/c
99
* hacking_: Enforces the OpenStack Hacking Guidelines
1010
* stestr_: Runs tests using stestr
1111
* OpenStack-Infra_: Ready for OpenStack Continuous Integration testing
12-
* Tox_ testing: Setup to easily test for Python 2.7, 3.5
12+
* Tox_ testing: Setup to easily test for Python 3.7
1313
* Sphinx_ docs: Documentation ready for generation and publication
1414

1515
Usage

{{cookiecutter.repo_name}}/setup.cfg

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ classifier =
1313
License :: OSI Approved :: Apache Software License
1414
Operating System :: POSIX :: Linux
1515
Programming Language :: Python
16-
Programming Language :: Python :: 2
17-
Programming Language :: Python :: 2.7
1816
Programming Language :: Python :: 3
19-
Programming Language :: Python :: 3.5
17+
Programming Language :: Python :: 3.7
2018

2119
[files]
2220
packages =

{{cookiecutter.repo_name}}/setup.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@
1616
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
1717
import setuptools
1818

19-
# In python < 2.7.4, a lazy loading of package `pbr` will break
20-
# setuptools if some other modules registered functions in `atexit`.
21-
# solution from: https://bugs.python.org/issue15881#msg170215
22-
try:
23-
import multiprocessing # noqa
24-
except ImportError:
25-
pass
26-
2719
setuptools.setup(
2820
setup_requires=['pbr'],
2921
pbr=True)

0 commit comments

Comments
 (0)