-
Notifications
You must be signed in to change notification settings - Fork 29
/
setup.py
68 lines (56 loc) · 1.45 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
#!/usr/bin/python3
"""
onedrive-d
==========
A Microsoft OneDrive client for Linux.
:copyright: (c) Xiangyu Bu
:license: GPL 3.0
"""
import sys
from setuptools import setup
setup_requires = []
install_requires = [
'ciso8601>=1.0.1',
'requests>=2.0',
'zgitignore>=0.6'
]
test_requires = [
'requests-mock>=0.6',
'coverage>=3.7.1'
]
python_version = sys.version_info
if python_version[0] < 3:
raise Exception('This package does not support Python 2.x. Please run with Python 3.x and newer instead.')
if python_version[0] == 3 and python_version[1] == 2:
test_requires.append('mock>=1.3.0')
setup(
name='onedrive_d',
version='2.0.0',
author='Xiangyu Bu',
author_email='[email protected]',
description='A Microsoft OneDrive client for Linux',
license='GPL 3.0',
long_description=open('README.md').read(),
packages=[
'onedrive_d',
'onedrive_d.api',
'onedrive_d.cli',
'onedrive_d.common',
'onedrive_d.store',
'onedrive_d.tests',
'onedrive_d.tests.api',
'onedrive_d.tests.common',
'onedrive_d.ui'
],
package_data={
'onedrive_d': ['lang/*.json'],
'onedrive_d.tests': ['data/*.json']
},
setup_requires=setup_requires,
install_requires=install_requires,
tests_require=test_requires,
test_suite='onedrive_d.tests',
include_package_data=True,
url='https://github.com/xybu/onedrive-d',
zip_safe=False
)