We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9693e46 commit 9d26049Copy full SHA for 9d26049
1 file changed
grumpy-runtime-src/Makefile
@@ -50,8 +50,12 @@ PY_DIR := build/lib/python2.7/site-packages
50
PY_INSTALL_DIR := $(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
51
52
export GOPATH := $(ROOT_DIR)/build
53
-export PYTHONPATH := $(ROOT_DIR)/$(PY_DIR)
54
export PATH := $(ROOT_DIR)/build/bin:$(PATH)
+ifndef PYTHONPATH
55
+ export PYTHONPATH := $(ROOT_DIR)/$(PY_DIR)
56
+else
57
+ export PYTHONPATH := $(PYTHONPATH):$(ROOT_DIR)/$(PY_DIR)
58
+endif
59
60
GOPATH_PY_ROOT := $(GOPATH)/src/__python__
61
0 commit comments