summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2016-04-10 20:52:22 -0600
committerBert JW Regeer <bertjw@regeer.org>2016-04-12 17:49:49 -0600
commit764b5d30d70aacf3d095f240ffd1650ab15065c2 (patch)
treed29fd417e35d158ca5eec3857ff2e620eb4d0138
parent4cd6cb4238f092baa19d477b1016c35af92b7b56 (diff)
downloadpyramid-764b5d30d70aacf3d095f240ffd1650ab15065c2.tar.gz
pyramid-764b5d30d70aacf3d095f240ffd1650ab15065c2.tar.bz2
pyramid-764b5d30d70aacf3d095f240ffd1650ab15065c2.zip
Python 2.7 is the lowest version we support
Remove the trove classifier, and have an hard error on attempting to install Pyramid on 2.6 or lower. Blame @mmerickel for the PEP8 on this commit, pyflake put all kinds of red in my vim window..
-rw-r--r--setup.py52
1 files changed, 25 insertions, 27 deletions
diff --git a/setup.py b/setup.py
index e26ae80d8..05476446e 100644
--- a/setup.py
+++ b/setup.py
@@ -26,8 +26,8 @@ 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')
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:
@@ -38,7 +38,7 @@ try:
except IOError:
README = CHANGES = ''
-install_requires=[
+install_requires = [
'setuptools',
'WebOb >= 1.3.1', # request.domain and CookieProfile
'repoze.lru >= 0.4', # py3 compat
@@ -74,24 +74,23 @@ testing_extras = tests_require + [
setup(name='pyramid',
version='1.7.dev0',
description='The Pyramid Web Framework, a Pylons project',
- long_description=README + '\n\n' + CHANGES,
+ long_description=README + '\n\n' + CHANGES,
classifiers=[
- "Development Status :: 6 - Mature",
- "Intended Audience :: Developers",
- "Programming Language :: Python",
- "Programming Language :: Python :: 2.6",
- "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",
- "Programming Language :: Python :: Implementation :: PyPy",
- "Framework :: Pyramid",
- "Topic :: Internet :: WWW/HTTP",
- "Topic :: Internet :: WWW/HTTP :: WSGI",
- "License :: Repoze Public License",
- ],
+ "Development Status :: 6 - Mature",
+ "Intended Audience :: Developers",
+ "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",
+ "Programming Language :: Python :: Implementation :: PyPy",
+ "Framework :: Pyramid",
+ "Topic :: Internet :: WWW/HTTP",
+ "Topic :: Internet :: WWW/HTTP :: WSGI",
+ "License :: Repoze Public License",
+ ],
keywords='web wsgi pylons pyramid',
author="Chris McDonough, Agendaless Consulting",
author_email="pylons-discuss@googlegroups.com",
@@ -100,14 +99,14 @@ setup(name='pyramid',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
- install_requires = install_requires,
- extras_require = {
- 'testing':testing_extras,
- 'docs':docs_extras,
+ install_requires=install_requires,
+ extras_require={
+ 'testing': testing_extras,
+ 'docs': docs_extras,
},
- tests_require = tests_require,
+ tests_require=tests_require,
test_suite="pyramid.tests",
- entry_points = """\
+ entry_points="""\
[pyramid.scaffold]
starter=pyramid.scaffolds:StarterProjectTemplate
zodb=pyramid.scaffolds:ZODBProjectTemplate
@@ -128,4 +127,3 @@ setup(name='pyramid',
cherrypy = pyramid.scripts.pserve:cherrypy_server_runner
"""
)
-