installing pocketsphinx from pip, 'casue it's radical

pull/227/head
aatchison 2016-06-20 17:31:41 -05:00
parent b305a0a374
commit 2d4519d264
3 changed files with 3 additions and 20 deletions

View File

@ -50,23 +50,5 @@ pip install -r requirements.txt
CORES=$(nproc)
echo Building with $CORES cores.
# clone pocketsphinx-python at HEAD (fix to a constant version later)
if [ ! -d ${TOP}/pocketsphinx-python ]; then
# build sphinxbase and pocketsphinx if we haven't already
git clone --recursive https://github.com/cmusphinx/pocketsphinx-python
cd ${TOP}/pocketsphinx-python/sphinxbase
./autogen.sh
./configure
make -j$CORES
cd ${TOP}/pocketsphinx-python/pocketsphinx
./autogen.sh
./configure
make -j$CORES
fi
# build and install pocketsphinx python bindings
cd ${TOP}/pocketsphinx-python
python setup.py install
# install pygtk for desktop_launcher skill
${TOP}/install-pygtk.sh

View File

@ -136,8 +136,8 @@ mkdir -p ${DEB_DIR}/etc/mycroft
cat > ${DEB_DIR}/etc/mycroft/mycroft.ini << EOM
[tts]
module = "mimic"
mimic.path = "/opt/mycroft/bin/mimic"
mimic.voice = "/opt/mycroft/lib/python2.7/site-packages/Mycroft-0.7.1-py2.7.egg/mycroft/tts/mycroft_voice_4.0.flitevox"
mimic.path = "/usr/local/bin/mimic"
mimic.voice = "/usr/local/lib/python2.7/site-packages/Mycroft-0.7.1-py2.7.egg/mycroft/tts/mycroft_voice_4.0.flitevox"
[metrics_client]
enabled = True

View File

@ -32,3 +32,4 @@ netifaces==0.10.4
pyjokes==0.5.0
psutil==4.1.0
pep8==1.7.0
pocketsphinx==0.1.0