summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2016-09-01 00:30:13 -0500
committerMichael Merickel <michael@merickel.org>2016-09-01 00:40:00 -0500
commita5c8100d780155643063742c716ac8d2f54e2e45 (patch)
treee8fbcfc47f9d2d9b1a1cdc995b567d1862de35df /setup.py
parent44e0fca16dfa6e9e896a1dc254c85b79d2c8ae88 (diff)
downloadpyramid-a5c8100d780155643063742c716ac8d2f54e2e45.tar.gz
pyramid-a5c8100d780155643063742c716ac8d2f54e2e45.tar.bz2
pyramid-a5c8100d780155643063742c716ac8d2f54e2e45.zip
drop support for python 3.3 and error on 2.6
closes #2476
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/setup.py b/setup.py
index 021da2b5f..f738ee623 100644
--- a/setup.py
+++ b/setup.py
@@ -18,16 +18,15 @@ import sys
from setuptools import setup, find_packages
py_version = sys.version_info[:2]
-is_pypy = '__pypy__' in sys.builtin_module_names
PY3 = py_version[0] == 3
if PY3:
- if py_version < (3, 3) and not is_pypy: # PyPy3 masquerades as Python 3.2...
- raise RuntimeError('On Python 3, Pyramid requires Python 3.3 or better')
+ if py_version < (3, 4):
+ raise RuntimeError('On Python 3, Pyramid requires Python 3.4 or better')
else:
- if py_version < (2, 6):
- raise RuntimeError('On Python 2, Pyramid requires Python 2.6 or better')
+ if py_version < (2, 7):
+ raise RuntimeError('On Python 2, Pyramid requires Python 2.7 or better')
here = os.path.abspath(os.path.dirname(__file__))
try:
@@ -81,7 +80,6 @@ setup(name='pyramid',
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: Implementation :: CPython",