forked from yarnbasket/Clarifai_py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (30 loc) · 1.03 KB
/
setup.py
File metadata and controls
34 lines (30 loc) · 1.03 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
import sys
from setuptools import find_packages
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
has_enum = sys.version_info >= (3, 4)
has_typing = sys.version_info >= (3, 5)
setup(
name="clarifai",
description='Clarifai API Python Client',
version='2.6.2',
author='Clarifai',
maintainer='Robert Wen',
maintainer_email='robert@clarifai.com',
url='https://github.com/clarifai/clarifai-python',
author_email='support@clarifai.com',
install_requires=['future>=0.15, <2',
'requests>=2.13, <3',
'configparser>=3.5, <4',
'jsonschema>=2.5, <3',
'grpcio>=1.13.0, <2',
'protobuf>=3.6, <4',
'googleapis-common-protos>=1.5.0, <2'] +
([] if has_enum else ['enum34>=1.1, <2']) +
([] if has_typing else ['typing>=3.6']),
packages=find_packages(),
license="Apache 2.0",
scripts=['scripts/clarifai'],
)