installing pocketsphinx from pip, 'casue it's radical
parent
b305a0a374
commit
2d4519d264
18
dev_setup.sh
18
dev_setup.sh
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -32,3 +32,4 @@ netifaces==0.10.4
|
|||
pyjokes==0.5.0
|
||||
psutil==4.1.0
|
||||
pep8==1.7.0
|
||||
pocketsphinx==0.1.0
|
||||
|
|
Loading…
Reference in New Issue