Tres Seaver
2013-03-20 7174909b7f940f2f653417ff4182cd61d175da07
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()
10fb6b 22 tests_require = ['WebOb', 'zope.interface']
TS 23 testing_extras = tests_require + ['nose', 'coverage']
fdbab9 24
cb5426 25 setup(name='repoze.who',
717490 26       version='2.1',
cb5426 27       description=('repoze.who is an identification and authentication '
CM 28                    'framework for WSGI.'),
aa8755 29       long_description='\n\n'.join([README, CHANGES]),
fdbab9 30       classifiers=[
CM 31         "Intended Audience :: Developers",
d52555 32         "Programming Language :: Python :: 2.6",
TS 33         "Programming Language :: Python :: 2.7",
34         "Programming Language :: Python :: 3.2",
fdbab9 35         "Topic :: Internet :: WWW/HTTP",
CM 36         "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
37         "Topic :: Internet :: WWW/HTTP :: WSGI",
38         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
39         ],
40       keywords='web application server wsgi zope',
41       author="Agendaless Consulting",
42       author_email="repoze-dev@lists.repoze.org",
43       url="http://www.repoze.org",
44       license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
45       packages=find_packages(),
46       include_package_data=True,
37de44 47       namespace_packages=['repoze', 'repoze.who', 'repoze.who.plugins'],
fdbab9 48       zip_safe=False,
10fb6b 49       tests_require = tests_require,
1edb2d 50       install_requires=['WebOb', 'zope.interface', 'setuptools'],
9242ca 51       test_suite="repoze.who",
fdbab9 52       entry_points = """\
CM 53       [paste.filter_app_factory]
cb5426 54       test = repoze.who.middleware:make_test_middleware
fd214a 55       config = repoze.who.config:make_middleware_with_config
cad90d 56       predicate = repoze.who.restrict:make_predicate_restriction
TS 57       authenticated = repoze.who.restrict:make_authenticated_restriction
10fb6b 58       """,
TS 59       extras_require = {
60         'testing': testing_extras,
61       },
e25b84 62 )