Remove py27 support for future projects
Change-Id: I740c1f7a3ef14c342b3213dca8faeb02e66736bb
This commit is contained in:
parent
b67d3d35c7
commit
cd25bd04ad
|
@ -9,7 +9,7 @@ Cookiecutter template for an OpenStack project. See https://github.com/audreyr/c
|
||||||
* hacking_: Enforces the OpenStack Hacking Guidelines
|
* hacking_: Enforces the OpenStack Hacking Guidelines
|
||||||
* stestr_: Runs tests using stestr
|
* stestr_: Runs tests using stestr
|
||||||
* OpenStack-Infra_: Ready for OpenStack Continuous Integration testing
|
* OpenStack-Infra_: Ready for OpenStack Continuous Integration testing
|
||||||
* Tox_ testing: Setup to easily test for Python 2.7, 3.5
|
* Tox_ testing: Setup to easily test for Python 3.7
|
||||||
* Sphinx_ docs: Documentation ready for generation and publication
|
* Sphinx_ docs: Documentation ready for generation and publication
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
|
|
|
@ -13,10 +13,8 @@ classifier =
|
||||||
License :: OSI Approved :: Apache Software License
|
License :: OSI Approved :: Apache Software License
|
||||||
Operating System :: POSIX :: Linux
|
Operating System :: POSIX :: Linux
|
||||||
Programming Language :: Python
|
Programming Language :: Python
|
||||||
Programming Language :: Python :: 2
|
|
||||||
Programming Language :: Python :: 2.7
|
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python :: 3.5
|
Programming Language :: Python :: 3.7
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
packages =
|
packages =
|
||||||
|
|
|
@ -16,14 +16,6 @@
|
||||||
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
|
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
|
||||||
import setuptools
|
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: https://bugs.python.org/issue15881#msg170215
|
|
||||||
try:
|
|
||||||
import multiprocessing # noqa
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
setup_requires=['pbr'],
|
setup_requires=['pbr'],
|
||||||
pbr=True)
|
pbr=True)
|
||||||
|
|
Loading…
Reference in New Issue