From 1aafed74e369c09d71ecaa89b5adef240e6af057 Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Tue, 27 Aug 2019 15:38:24 +0200 Subject: [PATCH] gRPC: bundle grpcio-tools rather than just grpcio --- ApplicationCode/CMakeLists.txt | 2 +- ApplicationCode/GrpcInterface/Python/.gitignore | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ApplicationCode/CMakeLists.txt b/ApplicationCode/CMakeLists.txt index 01761782ed..c44aa88222 100644 --- a/ApplicationCode/CMakeLists.txt +++ b/ApplicationCode/CMakeLists.txt @@ -713,7 +713,7 @@ if (RESINSIGHT_PRIVATE_INSTALL) add_custom_command( TARGET ResInsight POST_BUILD - COMMAND ${RESINSIGHT_GRPC_PYTHON_EXECUTABLE} -m pip install --target=${GRPC_PYTHON_SOURCE_PATH} grpcio + COMMAND ${RESINSIGHT_GRPC_PYTHON_EXECUTABLE} -m pip install --target=${GRPC_PYTHON_SOURCE_PATH} grpcio-tools ) endif() install(DIRECTORY ${GRPC_PYTHON_SOURCE_PATH}/ DESTINATION ${RESINSIGHT_INSTALL_FOLDER}/Python) diff --git a/ApplicationCode/GrpcInterface/Python/.gitignore b/ApplicationCode/GrpcInterface/Python/.gitignore index d740b896f4..47a65457fe 100644 --- a/ApplicationCode/GrpcInterface/Python/.gitignore +++ b/ApplicationCode/GrpcInterface/Python/.gitignore @@ -7,4 +7,12 @@ rips.egg-info setup.py grpc grpcio* -six* \ No newline at end of file +six* +easy_install* +bin* +grpc_tools +pkg_resources +google +protobuf* +setuptools* +extern*