forked from pallets-eco/flask-security-3.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·96 lines (86 loc) · 2.46 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
90
91
92
93
94
95
96
# -*- coding: utf-8 -*-
"""Simple security for Flask apps."""
from setuptools import find_packages, setup
readme = open('README.rst').read()
tests_require = [
'Flask-CLI>=0.4.0',
'Flask-Mongoengine>=0.7.0',
'Flask-Peewee>=0.6.5',
'Flask-SQLAlchemy>=1.0',
'bcrypt>=1.0.2',
'check-manifest>=0.25',
'coverage>=4.0',
'isort>=4.2.2',
'mock>=1.3.0',
'mongoengine>=0.10.0',
'pony>=0.7.1',
'pydocstyle>=1.0.0',
'pytest-cache>=1.0',
'pytest-cov>=2.4.0',
'pytest-flakes>=1.0.1',
'pytest-pep8>=1.0.6',
'pytest-translations>=2.0.0',
'pytest>=3.3.0',
'sqlalchemy>=0.8.0',
]
extras_require = {
'docs': [
'Flask-Sphinx-Themes>=1.0.1',
'Sphinx>=1.4.2',
],
'tests': tests_require,
}
extras_require['all'] = []
for reqs in extras_require.values():
extras_require['all'].extend(reqs)
setup_requires = [
'Babel>=1.3',
'pytest-runner>=2.6.2',
]
install_requires = [
'Flask>=0.11',
'Flask-Login>=0.3.0',
'Flask-Mail>=0.7.3',
'Flask-Principal>=0.3.3',
'Flask-WTF>=0.13.1',
'Flask-BabelEx>=0.9.3',
'itsdangerous>=0.21',
'passlib>=1.7',
]
packages = find_packages()
setup(
name='Flask-Security',
version='3.0.0',
description=__doc__,
long_description=readme,
keywords='flask security',
license='MIT',
author='Matt Wright',
author_email='[email protected]',
url='https://github.com/mattupstate/flask-security',
packages=packages,
zip_safe=False,
include_package_data=True,
platforms='any',
extras_require=extras_require,
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Development Status :: 4 - Beta',
],
)