forked from OneDrive/onedrive-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
72 lines (53 loc) · 1.98 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
from __future__ import with_statement
from setuptools import setup
from codecs import open
from os import path
import sys
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
version = "1.1.14"
def main():
package_list = ['onedrivesdk_fork',
'onedrivesdk_fork.request',
'onedrivesdk_fork.model',
'onedrivesdk_fork.extensions',
'onedrivesdk_fork.helpers']
if sys.version_info >= (3, 4):
base_dir = 'python3'
package_list.append('onedrivesdk_fork.version_bridge')
else:
base_dir = 'python2'
setup(
name='onedrivesdk_fork',
version=version,
description='Un-Official Python OneDrive SDK for interfacing with OneDrive APIs',
long_description=long_description,
url='https://github.com/AtakamaLLC/onedrive-sdk-python',
author='Atakama, LLC',
author_email='support@atakama.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.4',
'Operating System :: OS Independent',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
],
keywords='onedrive sdk',
packages=package_list,
package_dir={'onedrivesdk_fork': 'src/onedrivesdk_fork',
'onedrivesdk_fork.request': 'src/' + base_dir + '/request'},
install_requires=['requests>=2.6.1'],
extras_require={
"samples": ["Pillow"],
"tests": ["Mock"]
},
test_suite='testonedrivesdk'
)
if __name__ == '__main__':
main()