From 1463a116fb4cbb93bbfb882bbab7a2196cecf76f Mon Sep 17 00:00:00 2001 From: Bruno Bronosky Date: Wed, 27 Dec 2017 11:59:02 -0500 Subject: [PATCH] Remove hardcoded path references Remove the assumed /home/pi/AIY-projects-python project path. This is easily done because of the previous cd call change the CWD to the project path. This changed is needed because of conflicting instructions in HACKING.md This resolves https://github.com/google/aiyprojects-raspbian/issues/211 --- scripts/install-deps.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install-deps.sh b/scripts/install-deps.sh index 0d134a52..d6a27987 100755 --- a/scripts/install-deps.sh +++ b/scripts/install-deps.sh @@ -32,8 +32,7 @@ sudo pip3 install --upgrade pip virtualenv cd "${scripts_dir}/.." virtualenv --system-site-packages -p python3 env env/bin/pip install -r requirements.txt -echo "/home/pi/AIY-projects-python/src" > \ - /home/pi/AIY-projects-python/env/lib/python3.5/site-packages/aiy.pth +echo "$(pwd)/src" > ./env/lib/python3.5/site-packages/aiy.pth # The google-assistant-library is only available on ARMv7. if [[ "$(uname -m)" == "armv7l" ]] ; then