forked from softlayer/softlayer-object-storage-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·37 lines (34 loc) · 1.15 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
#!/usr/bin/python
from setuptools import setup, find_packages
import sys
from object_storage.consts import __version__
requirements = ['httplib2']
if sys.version_info[0] == 2 and sys.version_info[1] < 6:
requirements.append('simplejson')
# Python 3 conversion
extra_args = {}
if sys.version_info >= (3,):
extra_args['use_2to3'] = True
setup(
name='softlayer-object-storage',
version=__version__,
description='SoftLayer Object Storage client bindings for Python.',
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Distributed Computing',
'Topic :: Utilities',
],
author='SoftLayer Technologies, Inc.',
author_email='sldn@softlayer.com',
url='https://github.com/softlayer/softlayer-object-storage-python',
license='MIT',
test_suite='tests',
packages=find_packages(exclude=['tests']),
install_requires=requirements,
**extra_args
)