-
Notifications
You must be signed in to change notification settings - Fork 323
/
Copy pathsetup.py
49 lines (43 loc) · 1.53 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
# Don't import unicode_literals because of a bug in py2 setuptools
# where package_data is expected to be str and not unicode.
from __future__ import absolute_import, division, print_function
# Ensure setuptools is available
import sys
try:
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Try to use ez_setup, but if not, continue anyway. The import is known
# to fail when installing from a tar.gz.
print('Could not import ez_setup', file=sys.stderr)
from setuptools import setup
install_reqs = ['urllib3',
'requests>=2.5.1',
'six>=1.3.0']
assert sys.version_info >= (2, 6), "We only support Python 2.6+"
with open('LICENSE') as f:
license = f.read()
dist = setup(
name='dropbox',
version='6.1',
description='Official Dropbox API Client',
author='Dropbox',
author_email='[email protected]',
url='http://www.dropbox.com/developers',
install_requires=install_reqs,
license=license,
zip_safe=False,
packages=['dropbox'],
package_data={'dropbox': ['trusted-certs.crt']},
platforms=['CPython 2.6', 'CPython 2.7'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)