-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (48 loc) · 1.65 KB
/
setup.py
File metadata and controls
53 lines (48 loc) · 1.65 KB
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
import sys
import warnings
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
install_requires = ['requests>=2.4.2']
if sys.version_info < (3, 4, 0):
install_requires.append('enum34')
if sys.version_info < (2, 7, 9):
warnings.warn(
'Users have reported issues with SNI / SSL by using Scale on '
'versions of Python older than 2.7.9. If at all possible, you should '
'upgrade your version of Python. '
'If you have any questions, please file an issue on Github or '
'contact us at support@scale.com.',
DeprecationWarning)
install_requires.append('pyOpenSSL')
install_requires.append('ndg-httpsclient')
install_requires.append('pyasn1')
install_requires.append('idna')
install_requires.append('requests[security]')
setup(
name='scaleapi',
packages=['scaleapi'],
version='0.4.0',
description='The official Python client library for Scale AI, the Data Platform for AI',
author='Scale AI',
author_email='support@scale.com',
url='https://github.com/scaleapi/scaleapi-python-client',
keywords=[
'scale',
'scaleapi',
'humans',
'tasks',
'categorization',
'transcription',
'annotation',
'data collection',
'audio transcription'
],
install_requires=install_requires,
classifiers=['Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries']
)