forked from leancloud/python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (46 loc) · 1.38 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
from setuptools import setup, find_packages
from os import path
import sys
here = path.abspath(path.dirname(__file__))
install_requires = [
'arrow',
'iso8601',
'six>=1.11.0',
'qiniu>=7.1.4,<7.2.4',
'requests>=2.20.0,<=2.22.0',
'urllib3>=1.24.3,<=1.25.3',
'Werkzeug>=0.16.0',
'secure-cookie>=0.1.0,<1.0.0',
'gevent>=1.0.2,<2.0.0'
]
if sys.version_info < (3, 5, 0):
install_requires.append('typing')
if sys.version_info < (2, 7, 9):
install_requires.append('pyOpenSSL')
install_requires.append('idna')
setup(
name='leancloud',
version='2.8.0',
description='LeanCloud Python SDK',
url='https://leancloud.cn/',
author='asaka',
author_email='[email protected]',
license='LGPL',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='Leancloud SDK',
packages=find_packages(exclude=['docs', 'tests*']),
test_suite='nose.collector',
install_requires=install_requires,
extras_require={
'dev': ['sphinx', 'sphinx_rtd_theme'],
'test': ['nose', 'wsgi_intercept', 'flask'],
}
)