forked from yesup/tensorflow-serving-client-java
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
33 lines (31 loc) · 1.49 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
from os import environ
from setuptools import find_packages, setup
setup(
name=environ["TFSCLIENT_NAME_"],
version=environ["TFSCLIENT_VERSION"],
packages=find_packages(environ["TFSCLIENT_SOURCE"]),
package_dir={"": environ["TFSCLIENT_SOURCE"]},
python_requires=">=3.5",
install_requires=["grpcio", "protobuf"],
platforms=["any"],
author=environ["TFSCLIENT_AUTHOR_NAME"],
author_email=environ["TFSCLIENT_AUTHOR_EMAIL"],
license=environ["TFSCLIENT_LICENSE"],
url=environ["TFSCLIENT_URL"],
description=environ["TFSCLIENT_DESCRIPTION"],
long_description=("This library does not coexist with tensorflow, "
"tensorflow-serving and tensorflow-serving-api. "
"The official tensorflow-serving-api requires package "
"tensorflow. To eliminate this requirement, "
"this library is setup to generate only neccessary "
"*_pb2.py and *_service_pb2_grpc.py from the apis "
"of tensorflow_serving."),
long_description_content_type="text/plain",
classifiers=["Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules"]
)