summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index daccd3258..211c0a4ec 100644
--- a/setup.py
+++ b/setup.py
@@ -18,12 +18,13 @@ 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, 2):
- raise RuntimeError('On Python 3, Pyramid requires Python 3.2 or better')
+ 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')
else:
if py_version < (2, 6):
raise RuntimeError('On Python 2, Pyramid requires Python 2.6 or better')
@@ -81,7 +82,6 @@ setup(name='pyramid',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",