@@ -8,7 +8,7 @@ from sys import version_info
sl = SettingLoader()
settings = sl.settings
-module_file_path = "%s/_snowboydetect" % settings.machine
+module_file_path = "%s/python%d/_snowboydetect" % (settings.machine, version_info[0])
if version_info >= (2, 6, 0):
@@ -91,8 +91,9 @@ setup(
'kalliope': [
'brain.yml',
'settings.yml',
- 'trigger/snowboy/armv7l/_snowboydetect.so',
- 'trigger/snowboy/x86_64/_snowboydetect.so',
+ 'trigger/snowboy/armv7l/python2/_snowboydetect.so',
+ 'trigger/snowboy/x86_64/python2/_snowboydetect.so',
+ 'trigger/snowboy/x86_64/python3/_snowboydetect.so',
'trigger/snowboy/resources/*',
'sounds/*'
],