Tres Seaver
2012-03-19 96e536ce8d784765a4e73bf3f4a9d52e61b360c7
commit | author | age
fdbab9 1 ##############################################################################
CM 2 #
6e136f 3 # Copyright (c) 2007-2009 Agendaless Consulting and Contributors.
fdbab9 4 # All Rights Reserved.
CM 5 #
6 # This software is subject to the provisions of the BSD-like license at
7 # http://www.repoze.org/LICENSE.txt.  A copy of the license should accompany
8 # this distribution.  THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL
9 # EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO,
10 # THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND
11 # FITNESS FOR A PARTICULAR PURPOSE
12 #
13 ##############################################################################
14
15 import os
16
17 from setuptools import setup, find_packages
18
19 here = os.path.abspath(os.path.dirname(__file__))
20 README = open(os.path.join(here, 'README.txt')).read()
aa8755 21 CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
fdbab9 22
cb5426 23 setup(name='repoze.who',
02a504 24       version='2.0b1',
cb5426 25       description=('repoze.who is an identification and authentication '
CM 26                    'framework for WSGI.'),
aa8755 27       long_description='\n\n'.join([README, CHANGES]),
fdbab9 28       classifiers=[
CM 29         "Intended Audience :: Developers",
d52555 30         "Programming Language :: Python :: 2.6",
TS 31         "Programming Language :: Python :: 2.7",
32         "Programming Language :: Python :: 3.2",
fdbab9 33         "Topic :: Internet :: WWW/HTTP",
CM 34         "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
35         "Topic :: Internet :: WWW/HTTP :: WSGI",
36         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
37         ],
38       keywords='web application server wsgi zope',
39       author="Agendaless Consulting",
40       author_email="repoze-dev@lists.repoze.org",
41       url="http://www.repoze.org",
42       license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
43       packages=find_packages(),
44       include_package_data=True,
37de44 45       namespace_packages=['repoze', 'repoze.who', 'repoze.who.plugins'],
fdbab9 46       zip_safe=False,
1edb2d 47       tests_require = ['WebOb', 'zope.interface'],
TS 48       install_requires=['WebOb', 'zope.interface', 'setuptools'],
9242ca 49       test_suite="repoze.who",
fdbab9 50       entry_points = """\
CM 51       [paste.filter_app_factory]
cb5426 52       test = repoze.who.middleware:make_test_middleware
fd214a 53       config = repoze.who.config:make_middleware_with_config
cad90d 54       predicate = repoze.who.restrict:make_predicate_restriction
TS 55       authenticated = repoze.who.restrict:make_authenticated_restriction
fdbab9 56       """
e25b84 57 )
fdbab9 58