summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index d736dc38d..e878b9932 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')
@@ -56,9 +57,12 @@ if not PY3:
tests_require.append('zope.component>=3.11.0')
docs_extras = [
- 'Sphinx',
+ 'Sphinx >= 1.3.5',
'docutils',
'repoze.sphinx.autointerface',
+ 'pylons_sphinx_latesturl',
+ 'pylons-sphinx-themes',
+ 'sphinxcontrib-programoutput',
]
testing_extras = tests_require + [
@@ -68,7 +72,7 @@ testing_extras = tests_require + [
]
setup(name='pyramid',
- version='1.6dev',
+ version='1.7.dev0',
description='The Pyramid Web Framework, a Pylons project',
long_description=README + '\n\n' + CHANGES,
classifiers=[
@@ -78,9 +82,9 @@ 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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Framework :: Pyramid",
@@ -108,6 +112,8 @@ setup(name='pyramid',
starter=pyramid.scaffolds:StarterProjectTemplate
zodb=pyramid.scaffolds:ZODBProjectTemplate
alchemy=pyramid.scaffolds:AlchemyProjectTemplate
+ [pyramid.pshell_runner]
+ python=pyramid.scripts.pshell:python_shell_runner
[console_scripts]
pcreate = pyramid.scripts.pcreate:main
pserve = pyramid.scripts.pserve:main