Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robustly install snowboy #14

Open
jacobtomlinson opened this issue Mar 7, 2017 · 0 comments
Open

Robustly install snowboy #14

jacobtomlinson opened this issue Mar 7, 2017 · 0 comments
Labels

Comments

@jacobtomlinson
Copy link
Member

jacobtomlinson commented Mar 7, 2017

Currently the install requires snowboy to be compiled for the current system and python version separately to the installation of opsdroid audio.

Snowboy's python wrapper isn't a python module (doesn't have an __init__.py) so once you build the project you also have to touch __init__.py in the swig/Python directory. You must then rename swig/Python to snowboydetect and put it somewhere on the python path.

Also if you're building the project for python3 you need to update the Makefile in swig/Python to call python3-config instead of python-config.

All of this is currently captured in scripts/install_snowboy.sh to be used during travis builds but this also needs to be implemented in a robust way for users installing opsdroid-audio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant