/
setup.py
65 lines (62 loc) · 2.16 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
from setuptools import setup, find_packages
version = '4.1.1.dev0'
requires = [
'WebOb',
'pyramid',
'SQLAlchemy',
'pyramid_simpleform',
'pyramid_mailer',
'argparse',
'pyramid_tm',
'pyramid_chameleon'
]
setup(name='factored',
version=version,
description="A WSGI app that allows you to add another factor of "
"authentication to any application server.",
long_description="%s\n%s" % (
open("README.rst").read(),
open("CHANGES.rst").read()),
classifiers=[
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware'],
keywords='mutli factor authentication 2factor mutl-factor '
'auth auth_tkt google otp',
author='Nathan Van Gheem',
author_email='vangheem@gmail.com',
url='https://github.com/wildcardcorp/factored',
license='GPL2',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=requires + ['WebTest'],
extras_require={
'test': [
'WebTest',
'pyramid_debugtoolbar'
],
'proxy': [
'WSGIProxy'
]
},
test_suite="factored",
entry_points={
'paste.app_factory': [
'simpleproxy = factored.app:SimpleProxy',
'main = factored.app:Authenticator'],
'paste.filter_app_factory': [
'main = factored.app:Authenticator',
'sm = factored.sm:make_sm'],
'console_scripts': [
'factored_initializedb = factored.scripts.initializedb:main',
'factored_adduser = factored.scripts.users:add',
'factored_removeuser = factored.scripts.users:remove',
'factored_listusers = factored.scripts.users:listusers',
'factored_listuserinfo = factored.scripts.users:listuserinfo'
],
'factored.db_factory': [
'sql = factored.sql:factory'
]
})