2016-04-02 03:21:33 +02:00
|
|
|
#!/usr/bin/env python3
|
2016-06-21 19:27:36 +02:00
|
|
|
import sys
|
2019-07-15 00:12:29 +02:00
|
|
|
|
2016-06-21 19:27:36 +02:00
|
|
|
try:
|
2018-03-31 08:01:23 +02:00
|
|
|
from pylinkirc import launcher
|
2016-06-21 19:27:36 +02:00
|
|
|
except ImportError:
|
2018-03-31 08:01:23 +02:00
|
|
|
print("ERROR: Failed to import PyLink launcher module (pylinkirc.launcher).\n\nIf you are "
|
|
|
|
"running PyLink from source, please install PyLink first using 'python3 "
|
|
|
|
"setup.py install' (global install) or 'python3 setup.py install --user'"
|
|
|
|
" (local install)\n")
|
2016-06-21 19:27:36 +02:00
|
|
|
sys.exit(1)
|
2018-03-31 08:01:23 +02:00
|
|
|
else:
|
|
|
|
if __name__ == '__main__':
|
|
|
|
launcher.main()
|