diff --git a/rose/client/Makefile b/rose/client/Makefile index 65c9b90c..9d124d14 100644 --- a/rose/client/Makefile +++ b/rose/client/Makefile @@ -3,6 +3,7 @@ IMAGE_NAME ?= quay.io/rose/rose-client DRIVER_PATH ?= ./mydriver.py PORT ?= 8081 +ROSE_DIR = ../.. # By default, run both linting and tests all: lint test @@ -27,7 +28,7 @@ test: run: @echo "Running driver logic server ..." - python main.py --port $(PORT) --driver $(DRIVER_PATH) + PYTHONPATH=$(ROSE_DIR):$$PYTHONPATH python main.py --port $(PORT) --driver $(DRIVER_PATH) build-image: @echo "Building container image ..."