root/AuthKit/trunk/setup.py

Revision 161 (checked in by thejimmyg, 2 weeks ago)

Adding the pylons.error_call key globally, raising an error if a user tries to use digest authentication with server-side encryption

Line 
1 try:
2     from setuptools import setup, find_packages
3 except ImportError:
4     from ez_setup import use_setuptools
5     use_setuptools()
6     from setuptools import setup, find_packages
7
8 import sys, os
9
10 def read(*rnames):
11     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
12
13 long_description = (
14     "\n"+read('docs/index.txt')
15     + '\n'
16     + read('CHANGELOG.txt')
17     + '\n'
18     + read('LICENSE.txt')
19     + '\n'
20     'Download\n'
21     '========\n'
22 )
23
24 version = '0.4.3'
25
26 setup(
27     name="AuthKit",
28     version=version,
29     description='An authentication and authorization toolkit for WSGI applications and frameworks',
30     long_description=long_description,
31     license = 'MIT',
32     author='James Gardner',
33     author_email='james@pythonweb.org',
34     url='http://authkit.org/',
35     packages=find_packages(exclude=['test', 'examples', 'docs']),
36     include_package_data=True,
37     zip_safe=False,
38     test_suite = 'nose.collector',
39     install_requires = [
40         "Paste>=1.4", "nose>=0.9.2", "PasteDeploy>=1.1",
41         "PasteScript>=1.1", "python-openid>=2.1.1",
42         "elementtree>=1.2,<=1.3", "Beaker>=0.7.3", "decorator>=2.1.0",
43         "WebOb>=0.9.3",
44     ],
45     extras_require = {
46         'pylons': ["Pylons>=0.9.5,<=1.0"],
47         'full': [
48             "Pylons>=0.9.5,<=1.0",
49             "SQLAlchemy>=0.4.0,<=0.4.99",
50             "pudge==0.1.3",
51             "buildutils==dev",
52             "pygments>=0.7",
53             "TurboKid==0.9.5"
54         ],
55         'pudge': [
56             "pudge==0.1.3",
57             "buildutils==dev",
58             "pygments>=0.7",
59             "TurboKid==0.9.5"
60         ],
61     },
62     entry_points="""
63         [authkit.method]
64         basic=authkit.authenticate.basic:make_basic_handler
65         digest=authkit.authenticate.digest:make_digest_handler
66         form=authkit.authenticate.form:make_form_handler
67         forward=authkit.authenticate.forward:make_forward_handler
68         openid=authkit.authenticate.open_id:make_passurl_handler
69         redirect=authkit.authenticate.redirect:make_redirect_handler
70         cookie=authkit.authenticate.cookie:make_cookie_handler
71        
72         cas = authkit.authenticate.sso.cas:make_cas_handler
73
74         [paste.paster_create_template]
75         authenticate_plugin=authkit.template:AuthenticatePlugin
76     """,
77 )
Note: See TracBrowser for help on using the browser.