summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2016-01-22 17:02:15 -0600
committerMichael Merickel <michael@merickel.org>2016-01-22 17:02:15 -0600
commit869cd912802e46836f9d59976521ad3b6db6f106 (patch)
treebdac9c97412fe340980c45074586c415503cda19 /setup.py
parent6f287132f88b9ffd7f55753e6bce874f867e4dee (diff)
parent4064028cadc63ed1aceb14e6c88827b88b12f839 (diff)
downloadpyramid-869cd912802e46836f9d59976521ad3b6db6f106.tar.gz
pyramid-869cd912802e46836f9d59976521ad3b6db6f106.tar.bz2
pyramid-869cd912802e46836f9d59976521ad3b6db6f106.zip
Merge pull request #2256 from Pylons/remove_py32
Remove Python 3.2 support
Diffstat (limited to 'setup.py')
-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",