-
Notifications
You must be signed in to change notification settings - Fork 453
/
setup.py
74 lines (65 loc) · 2.1 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
import multiprocessing
except ImportError:
pass
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from email.utils import parseaddr
import flask_oauthlib
author, author_email = parseaddr(flask_oauthlib.__author__)
def fread(filename):
with open(filename) as f:
return f.read()
setup(
name='Flask-OAuthlib',
version=flask_oauthlib.__version__,
author=author,
author_email=author_email,
url=flask_oauthlib.__homepage__,
packages=[
"flask_oauthlib",
"flask_oauthlib.provider",
"flask_oauthlib.contrib",
"flask_oauthlib.contrib.client",
],
description="OAuthlib for Flask",
zip_safe=False,
include_package_data=True,
platforms='any',
long_description=fread('README.rst'),
license='BSD',
install_requires=[
'Flask',
'oauthlib>=3.0.0,<3.2.2',
'requests-oauthlib>=1.0,<1.3.1',
'cachelib',
],
tests_require=['nose', 'Flask-SQLAlchemy', 'mock'],
test_suite='nose.collector',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'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',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)