This repository has been archived by the owner on Nov 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (63 loc) · 2.03 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import os
import sys
def iter_protos(parent=None):
for root, _, files in os.walk('proto'):
if not files:
continue
dest = root if not parent else os.path.join(parent, root)
yield dest, [os.path.join(root, f) for f in files]
from setuptools import setup, find_packages
pkg_name = 'medifor'
setup(name=pkg_name,
package_dir={
'': 'python',
},
version='0.3.0',
description='Protocol wrapper for MediFor Analytics',
author='Data Machines Corp.',
author_email='[email protected]',
url='https://github.com/mediaforensics/medifor',
license='Apache License, Version 2.0',
packages=find_packages(),
entry_points={
'console_scripts': [
'medifor-cli=medifor.v1.cli:main',
'medifor-subproc=medifor.v1.subproc_analytic:main',
],
},
install_requires=[
'setuptools~=39.0',
'grpcio~=1.15',
'grpcio_health_checking>=1.15',
'protobuf>=3.6',
'googleapis-common-protos~=1.6',
'Click',
'requests~=2.22',
'Flask~=1.1',
'python-magic>=0.4.14',
],
data_files=list(iter_protos(pkg_name)),
py_modules=[
'medifor.v1.analytic_pb2',
'medifor.v1.analytic_pb2_grpc',
'medifor.v1.streamingproxy_pb2',
'medifor.v1.streamingproxy_pb2_grpc',
'medifor.v1.fifoconn',
'medifor.v1.fusion_pb2',
'medifor.v1.fusion_pb2_grpc',
'medifor.v1.analyticservice',
'medifor.v1.fusionservice',
'medifor.v1.mediforclient',
'medifor.v1.provenanceservice',
'medifor.v1.provenance_pb2',
'medifor.v1.provenance_pb2_grpc',
'medifor.v1.cli',
'medifor.v1.pipeclient',
'medifor.v1.pipeline_pb2',
'medifor.v1.pipeline_pb2_grpc',
'medifor.v1.medifortools',
'medifor.v1.provclient',
'medifor.v1.subproc_analytic',
'medifor.__main__'
]
)