Add mycroft-core to virtualenv path

Add the insertion of mycroft-core in the virtualenv created by
dev_setup.sh.  It becomes part of the python2.7 site-packages.
This is needed for running mycroft-core pieces directly from
the command line, after performing "workon mycroft".
pull/992/head
Steve Penrod 2017-08-15 18:54:11 -07:00
parent 47232ca2d7
commit dd2aa0900c
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ cd "${TOP}"
easy_install pip==7.1.2 # force version of pip
pip install --upgrade virtualenv
# Add mycroft-core to the virtualenv path
echo "$TOP" > ${VIRTUALENV_ROOT}/lib/python2.7/site-packages/mycroft-core.pth
# install requirements (except pocketsphinx)
# removing the pip2 explicit usage here for consistency with the above use.
pip install -r requirements.txt