Skip to content

Commit

Permalink
Remove hardcoded path references
Browse files Browse the repository at this point in the history
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
google#211
  • Loading branch information
RichardBronosky committed Dec 27, 2017
1 parent c22ea5b commit 1463a11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1463a11

Please sign in to comment.