diff --git a/Makefile b/Makefile index 1100a5ae1ca1dd952cc4d7f39a2d7bd5c4af1a75..f075c63cd75de0870d561ec81073a15fe976d0e8 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ lint: install-build-requirements flake8 perxis/ generate: clean-proto install-build-requirements - find $(PROTO_FILES_DIR) -name '*.proto' -exec python -m grpc_tools.protoc -I ${PROTO_FILES_DIR} --python_out=$(OUTPUT_FILES_DIR) --grpc_python_out=$(OUTPUT_FILES_DIR) {} + + find $(PROTO_FILES_DIR) -name '*.proto' -exec python3 -m grpc_tools.protoc -I${PROTO_FILES_DIR} --python_out=$(OUTPUT_FILES_DIR) --grpc_python_out=$(OUTPUT_FILES_DIR) {} + python fix_imports.py dist: clean generate