From a5191c972c8e385d2010d9fb1ba6d5fd06caf2b6 Mon Sep 17 00:00:00 2001 From: Achal Shah Date: Tue, 22 Mar 2022 13:38:56 -0700 Subject: [PATCH] fix: Update Makefile to cd into python dir before running setup.py commands Signed-off-by: Achal Shah --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ba87a2711a0..a9d8a88840a 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ package-protos: cp -r ${ROOT_DIR}/protos ${ROOT_DIR}/sdk/python/feast/protos compile-protos-python: - python sdk/python/setup.py build_python_protos + cd sdk/python && python setup.py build_python_protos install-python: cd sdk/python && python -m piptools sync requirements/py$(PYTHON)-requirements.txt @@ -133,7 +133,7 @@ install-protoc-dependencies: pip install grpcio-tools==1.34.0 compile-protos-go: install-go-proto-dependencies install-protoc-dependencies - python sdk/python/setup.py build_go_protos + cd sdk/python && python setup.py build_go_protos compile-go-feature-server: compile-protos-go go mod tidy