forked from stormpath/stormpath-flask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
77 lines (65 loc) · 2.15 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
"""
Flask-Stormpath
---------------
The simplest and most secure way to handle user authentication and
authorization with Flask, via Stormpath (https://stormpath.com).
Flask-Stormpath on GitHub: https://github.com/stormpath/stormpath-flask
Documentation on RTFD: http://flask-stormpath.readthedocs.org/en/latest/
"""
from multiprocessing import cpu_count
from subprocess import call
from setuptools import (
Command,
setup,
)
class RunTests(Command):
"""Run our unit / integration tests."""
description = 'run tests'
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
"""Run our tests!"""
errno = call(['py.test', '-n', str(cpu_count())])
raise SystemExit(errno)
setup(
name = 'Flask-Stormpath',
version = '0.4.5',
url = 'https://github.com/stormpath/stormpath-flask',
license = 'Apache',
author = 'Stormpath, Inc.',
author_email = '[email protected]',
description = 'Simple and secure user authentication for Flask via Stormpath.',
long_description = __doc__,
packages = ['flask_stormpath'],
cmdclass = {'test': RunTests},
zip_safe = False,
include_package_data = True,
platforms = 'any',
install_requires = [
'Flask>=0.9.0',
'Flask-Login==0.2.9',
'Flask-WTF>=0.9.5',
'facebook-sdk==1.0.0',
'oauth2client==1.2',
'stormpath==2.1.1',
'blinker==1.3'
],
dependency_links=[
'git+git://github.com/pythonforfacebook/facebook-sdk.git@e65d06158e48388b3932563f1483ca77065951b3#egg=facebook-sdk-1.0.0-alpha',
],
classifiers = [
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Session',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)