-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
89 lines (84 loc) · 2.47 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import os.path as osp
from setuptools import setup, find_packages
cdir = osp.abspath(osp.dirname(__file__))
README = open(osp.join(cdir, 'readme.rst')).read()
CHANGELOG = open(osp.join(cdir, 'changelog.rst')).read()
version_fpath = osp.join(cdir, 'keg_auth', 'version.py')
version_globals = {}
with open(version_fpath) as fo:
exec(fo.read(), version_globals)
setup(
name='Keg-Auth',
version=version_globals['VERSION'],
description='Authentication plugin for Keg',
long_description='\n\n'.join((README, CHANGELOG)),
long_description_content_type='text/x-rst',
author='Randy Syring',
author_email='[email protected]',
url='https://github.com/level12/keg-auth',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
],
packages=find_packages(exclude=[]),
include_package_data=True,
zip_safe=False,
install_requires=[
'authlib',
'bcrypt',
'markdown-it-py',
'Flask-Login>0.4.1',
'Keg>=0.11.0',
'KegElements>=0.9.0',
'inflect',
'passlib',
'shortuuid',
'webgrid>=0.4.13',
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'tests': [
'email_validator',
'flake8',
'flask-bootstrap',
'flask-jwt-extended>=4.0.0',
'flask-mail',
'flask-webtest',
'freezegun',
'mock',
'psycopg2-binary',
'python-ldap==3.4.3',
'pyquery',
'pytest',
'pytest-cov',
'requests',
'tox',
'xlsxwriter',
# PINNED for https://github.com/kvesteri/wtforms-components/issues/73 (needs release)
# related: https://github.com/python-validators/validators/issues/300 (closed)
'validators==0.20.0',
],
'i18n': [
'morphi',
'webgrid[i18n]'
],
'jwt': [
'flask-jwt-extended>=4.0.0',
],
'ldap': [
'python-ldap',
],
'mail': [
'Flask-Mail',
],
'oauth': [
'requests',
],
}
)