-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
31 lines (28 loc) · 938 Bytes
/
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
import setuptools
import os
import shutil
from importlib.machinery import SourceFileLoader
version_module = SourceFileLoader(
'version_module', 'di_store/version.py').load_module()
version = version_module.version
dist_path = 'dist'
if os.path.exists(dist_path):
shutil.rmtree(dist_path)
setuptools.setup(
name='DI-store',
version=version,
description='Decision AI Store',
author='OpenDILab Contributors',
author_email='[email protected]',
license='Apache License, Version 2.0',
keywords='Decision AI Store',
packages=setuptools.find_packages(),
package_data={'di_store': ['bin/*']},
install_requires=['grpcio', 'pyarrow', 'etcd3-py', 'jaeger-client',
'grpcio-opentracing', 'grpcio-tools', 'pyyaml', 'numpy'],
python_requires='>=3.6',
zip_safe=False,
entry_points={
'console_scripts': ['di_store=di_store.cmd.executor:main'],
},
)