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