| | |
| | | ############################################################################## |
| | | |
| | | import os |
| | | import sys |
| | | import warnings |
| | | |
| | | from setuptools import setup, find_packages |
| | | |
| | | py_version = sys.version_info[:2] |
| | | |
| | | if (3, 0) <= py_version < (3, 4): |
| | | warnings.warn( |
| | | 'On Python 3, Pyramid only supports Python 3.4 or better', |
| | | UserWarning, |
| | | ) |
| | | elif 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: |
| | |
| | | 'venusian >= 1.0a3', # ``ignore`` |
| | | 'translationstring >= 0.4', # py3 compat |
| | | 'PasteDeploy >= 1.5.0', # py3 compat |
| | | 'plaster', |
| | | 'plaster_pastedeploy', |
| | | 'hupper', |
| | | ] |
| | | |
| | |
| | | ] |
| | | |
| | | setup(name='pyramid', |
| | | version='1.9.dev0', |
| | | version='1.9.1', |
| | | description='The Pyramid Web Framework, a Pylons project', |
| | | long_description=README + '\n\n' + CHANGES, |
| | | classifiers=[ |