Tres Seaver
2011-09-28 d03c94f1fab0697990a6baaee02cf649dcd86c4f
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',
d03c94 24       version='2.0',
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",
30         "Programming Language :: Python",
31         "Topic :: Internet :: WWW/HTTP",
32         "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
33         "Topic :: Internet :: WWW/HTTP :: WSGI",
34         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
35         ],
36       keywords='web application server wsgi zope',
37       author="Agendaless Consulting",
38       author_email="repoze-dev@lists.repoze.org",
39       url="http://www.repoze.org",
40       license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
41       packages=find_packages(),
42       include_package_data=True,
37de44 43       namespace_packages=['repoze', 'repoze.who', 'repoze.who.plugins'],
fdbab9 44       zip_safe=False,
be1a57 45       tests_require = ['Paste', 'zope.interface'],
d04ca0 46       install_requires=['Paste', 'zope.interface', 'setuptools'],
9242ca 47       test_suite="repoze.who",
fdbab9 48       entry_points = """\
CM 49       [paste.filter_app_factory]
cb5426 50       test = repoze.who.middleware:make_test_middleware
fd214a 51       config = repoze.who.config:make_middleware_with_config
cad90d 52       predicate = repoze.who.restrict:make_predicate_restriction
TS 53       authenticated = repoze.who.restrict:make_authenticated_restriction
fdbab9 54       """
e25b84 55 )
fdbab9 56