Tres Seaver
2015-03-18 e4b71bb12d7eaf239469e6e1a4a14a1d9d268ca6
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 ez_setup import use_setuptools
18 use_setuptools()
19
20 from setuptools import setup, find_packages
21
e4b71b 22 __version__ = '1.0.19.dev0'
8315ba 23
fdbab9 24 here = os.path.abspath(os.path.dirname(__file__))
CM 25 README = open(os.path.join(here, 'README.txt')).read()
aa8755 26 CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
fdbab9 27
cb5426 28 setup(name='repoze.who',
8315ba 29       version=__version__,
cb5426 30       description=('repoze.who is an identification and authentication '
CM 31                    'framework for WSGI.'),
aa8755 32       long_description='\n\n'.join([README, CHANGES]),
fdbab9 33       classifiers=[
CM 34         "Intended Audience :: Developers",
35         "Programming Language :: Python",
36         "Topic :: Internet :: WWW/HTTP",
37         "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
38         "Topic :: Internet :: WWW/HTTP :: WSGI",
39         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
40         ],
41       keywords='web application server wsgi zope',
42       author="Agendaless Consulting",
43       author_email="repoze-dev@lists.repoze.org",
44       url="http://www.repoze.org",
45       license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
46       packages=find_packages(),
47       include_package_data=True,
37de44 48       namespace_packages=['repoze', 'repoze.who', 'repoze.who.plugins'],
fdbab9 49       zip_safe=False,
be1a57 50       tests_require = ['Paste', 'zope.interface'],
d04ca0 51       install_requires=['Paste', 'zope.interface', 'setuptools'],
9242ca 52       test_suite="repoze.who",
fdbab9 53       entry_points = """\
CM 54       [paste.filter_app_factory]
cb5426 55       test = repoze.who.middleware:make_test_middleware
fd214a 56       config = repoze.who.config:make_middleware_with_config
cad90d 57       predicate = repoze.who.restrict:make_predicate_restriction
TS 58       authenticated = repoze.who.restrict:make_authenticated_restriction
fdbab9 59       """
CM 60       )
61