Browse Source

Remove py27 support for future projects

Change-Id: I740c1f7a3ef14c342b3213dca8faeb02e66736bb
changes/12/694312/1
Hervé Beraud 10 months ago
parent
commit
cd25bd04ad
3 changed files with 2 additions and 12 deletions
  1. +1
    -1
      README.rst
  2. +1
    -3
      {{cookiecutter.repo_name}}/setup.cfg
  3. +0
    -8
      {{cookiecutter.repo_name}}/setup.py

+ 1
- 1
README.rst View File

@@ -9,7 +9,7 @@ Cookiecutter template for an OpenStack project. See https://github.com/audreyr/c
* hacking_: Enforces the OpenStack Hacking Guidelines
* stestr_: Runs tests using stestr
* 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

Usage


+ 1
- 3
{{cookiecutter.repo_name}}/setup.cfg View File

@@ -13,10 +13,8 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.7

[files]
packages =


+ 0
- 8
{{cookiecutter.repo_name}}/setup.py View File

@@ -16,14 +16,6 @@
# 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: https://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass

setuptools.setup(
setup_requires=['pbr'],
pbr=True)

Loading…
Cancel
Save