blob: 85d88ec92439ee42bab4c06ab123e05f9f5c05ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/env python
import sys, os
import traceback
libs = os.path.join('@prefix@', 'lib', 'python@PYTHON_VERSION@', 'site-packages')
# This might be run from the build dir.
_dirname = os.path.dirname(__file__)
if _dirname != "@prefix@/libexec":
libs = os.path.normpath(os.path.join(_dirname, '..'))
sys.path.insert(1, libs)
from caribou.antler.main import AntlerKeyboardService
antler_keyboard_service = AntlerKeyboardService()
antler_keyboard_service.run()
|