forked from lingthio/Flask-User
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (60 loc) · 2.2 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
from setuptools import setup
import sys
__version__ = '0.6.19'
# Load pytest and pytest-runner only when needed:
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
# Read long description from README.rst file
def load_readme():
with open('README.rst') as f:
return f.read()
setup(
name='Flask-User',
version=__version__,
url='http://github.com/lingthio/Flask-User',
license='BSD License',
author='Ling Thio',
author_email='[email protected]',
description='Customizable User Authentication and Management, and more.',
long_description=load_readme(),
keywords='Flask User Registration Email Username Confirmation Password Reset',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: Chinese (Simplified)',
'Natural Language :: Dutch',
'Natural Language :: English',
'Natural Language :: French',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Security',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=['flask_user'],
include_package_data=True, # Tells setup to use MANIFEST.in
zip_safe=False, # Do not zip as it will make debugging harder
python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*', # Python 2.6, 2.7, 3.3+
setup_requires=pytest_runner,
install_requires=[
'bcrypt',
'Flask',
'Flask-Login',
'Flask-Mail',
'Flask-SQLAlchemy',
'Flask-WTF',
'passlib',
'pycryptodome',
],
tests_require=['pytest'],
)