| | |
| | | ############################################################################## |
| | | # |
| | | # Copyright (c) 2007 Agendaless Consulting and Contributors. |
| | | # Copyright (c) 2007-2009 Agendaless Consulting and Contributors. |
| | | # All Rights Reserved. |
| | | # |
| | | # This software is subject to the provisions of the BSD-like license at |
| | |
| | | |
| | | import os |
| | | |
| | | from ez_setup import use_setuptools |
| | | use_setuptools() |
| | | |
| | | from setuptools import setup, find_packages |
| | | |
| | | __version__ = '1.0.10' |
| | | |
| | | here = os.path.abspath(os.path.dirname(__file__)) |
| | | README = open(os.path.join(here, 'README.txt')).read() |
| | | CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() |
| | | tests_require = ['WebOb', 'zope.interface'] |
| | | testing_extras = tests_require + ['nose', 'coverage'] |
| | | |
| | | setup(name='repoze.who', |
| | | version=__version__, |
| | | version='2.1', |
| | | description=('repoze.who is an identification and authentication ' |
| | | 'framework for WSGI.'), |
| | | long_description='\n\n'.join([README, CHANGES]), |
| | | classifiers=[ |
| | | "Development Status :: 1 - Planning", |
| | | "Intended Audience :: Developers", |
| | | "Programming Language :: Python", |
| | | "Programming Language :: Python :: 2.6", |
| | | "Programming Language :: Python :: 2.7", |
| | | "Programming Language :: Python :: 3.2", |
| | | "Topic :: Internet :: WWW/HTTP", |
| | | "Topic :: Internet :: WWW/HTTP :: Dynamic Content", |
| | | "Topic :: Internet :: WWW/HTTP :: WSGI", |
| | |
| | | include_package_data=True, |
| | | namespace_packages=['repoze', 'repoze.who', 'repoze.who.plugins'], |
| | | zip_safe=False, |
| | | tests_require = ['Paste', 'zope.interface'], |
| | | install_requires=['Paste', 'zope.interface', 'setuptools'], |
| | | test_suite="repoze.who.tests", |
| | | tests_require = tests_require, |
| | | install_requires=['WebOb', 'zope.interface', 'setuptools'], |
| | | test_suite="repoze.who", |
| | | entry_points = """\ |
| | | [paste.filter_app_factory] |
| | | test = repoze.who.middleware:make_test_middleware |
| | | config = repoze.who.config:make_middleware_with_config |
| | | predicate = repoze.who.restrict:make_predicate_restriction |
| | | authenticated = repoze.who.restrict:make_authenticated_restriction |
| | | """ |
| | | ) |
| | | |
| | | """, |
| | | extras_require = { |
| | | 'testing': testing_extras, |
| | | }, |
| | | ) |