Bert JW Regeer
2016-04-11 764b5d30d70aacf3d095f240ffd1650ab15065c2
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..
1 files modified
52 ■■■■ changed files
setup.py 52 ●●●● patch | view | raw | blame | history
setup.py
@@ -26,8 +26,8 @@
    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 @@
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 @@
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 @@
      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 @@
        cherrypy = pyramid.scripts.pserve:cherrypy_server_runner
      """
      )