This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
60 lines (49 loc) · 1.77 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os, runpy
pkg_root = os.path.dirname(__file__)
__version__ = runpy.run_path(
os.path.join(pkg_root, 'onedrive', '__init__.py') )['__version__']
# Error-handling here is to allow package to be built w/o README included
try: readme = open(os.path.join(pkg_root, 'README.txt')).read()
except IOError: readme = ''
setup(
name='python-onedrive',
version=__version__,
author='Mike Kazantsev, Antonio Chen',
author_email='[email protected]',
license='WTFPL',
keywords=[ 'onedrive', 'skydrive', 'api', 'oauth2',
'rest', 'microsoft', 'cloud', 'live', 'liveconnect',
'json', 'storage', 'storage provider', 'file hosting' ],
url='http://github.com/mk-fg/python-onedrive',
description='Obsolete python/cli module for'
' MS SkyDrive/OneDrive old API, do not use for new projects',
long_description=readme,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Information Technology',
'License :: OSI Approved',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2 :: Only',
'Topic :: Internet',
'Topic :: Software Development',
'Topic :: System :: Archiving',
'Topic :: System :: Filesystems',
'Topic :: Utilities'],
# install_requires = [],
extras_require=dict(
standalone=['requests'],
cli=['PyYAML', 'requests'],
conf=['PyYAML', 'requests']),
packages=find_packages(),
include_package_data=True,
package_data={'': ['README.txt']},
exclude_package_data={'': ['README.*']},
entry_points=dict(console_scripts=[
'onedrive-cli = onedrive.cli_tool:main']))