-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
40 lines (37 loc) · 1.02 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
from pathlib import Path
from setuptools import setup
readme = Path(__file__).parent.joinpath('README.md')
if readme.exists():
with readme.open() as f:
long_description = f.read()
try:
from pypandoc import convert_text
long_description = convert_text(long_description, 'rst', format='md')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
else:
long_description = '-'
setup(
name='serving-utils',
version='0.10.0',
description='Some utilities for tensorflow serving',
long_description=long_description,
python_requires='>=3.6',
packages=[
'serving_utils',
'serving_utils.protos',
],
author='Po-Hsien Chu',
author_email='cph@yoctol.com',
url='https://github.com/Yoctol/serving-utils',
license='MIT',
setup_requires=[
'cython',
'pypandoc',
],
install_requires=[
'grpclib',
'grpcio-tools',
'numpy>=1.14.0',
],
)