This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 1d32b75 Add depedency on grpcio and protobuf for Python lib (#2044)
1d32b75 is described below
commit 1d32b750a8be24373fe34f41b9cdc43a11455002
Author: Matteo Merli <[email protected]>
AuthorDate: Thu Jun 28 08:37:46 2018 -0700
Add depedency on grpcio and protobuf for Python lib (#2044)
### Motivation
The functions runtime code for Python depends on 2 libraries (`grpcio` and
`protobuf`). These currently needs to be installed manually.
This change will list them as dependency so that `pip install
pulsar-client` will also pull them automatically.
---
pulsar-client-cpp/python/setup.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pulsar-client-cpp/python/setup.py
b/pulsar-client-cpp/python/setup.py
index b20f3d6..eb753fb 100644
--- a/pulsar-client-cpp/python/setup.py
+++ b/pulsar-client-cpp/python/setup.py
@@ -69,4 +69,7 @@ setup(
description="Apache Pulsar Python client library",
license="Apache License v2.0",
url="http://pulsar.incubator.apache.org/",
+ install_requires=[
+ 'grpcio', 'protobuf'
+ ],
)