-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
42 lines (37 loc) · 1.11 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
from setuptools import setup, find_packages
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]
pkg_name = 'entroq'
setup(name=pkg_name,
package_dir={
'': 'contrib/py',
},
version='0.3.10',
description='EntroQ Python Client Library',
author='Chris Monson',
author_email='shiblon@gmail.com',
url='https://github.com/shiblon/entroq',
license='Apache License, Version 2.0',
packages=find_packages(),
install_requires=[
'setuptools==65.5.1',
'grpcio==1.25.0',
'grpcio-status==1.25.0',
'grpcio-tools==1.25.0',
'grpcio_health_checking==1.25.0',
'protobuf==3.18.3',
'Click==7.0',
],
data_files=list(iter_protos(pkg_name)),
py_modules=[
'entroq.entroq_pb2',
'entroq.entroq_pb2_grpc',
'entroq.__main__',
'entroq.__init__',
])