2014-12-07 15:16:29 +00:00
|
|
|
#!/usr/bin/env python2
|
2012-10-12 16:37:12 +00:00
|
|
|
|
2014-06-19 18:31:49 +00:00
|
|
|
import site, sys
|
2013-12-18 06:33:39 +00:00
|
|
|
|
|
|
|
# libpath
|
|
|
|
|
2018-05-31 14:53:09 +00:00
|
|
|
try:
|
|
|
|
if (sys.version_info.major != 3) or (sys.version_info.minor < 5):
|
|
|
|
raise Exception("You must run Syncplay with Python 3.5 or newer!")
|
|
|
|
except AttributeError:
|
|
|
|
import warnings
|
|
|
|
warnings.warn("You must run Syncplay with Python 3.5 or newer!")
|
2014-06-19 18:31:49 +00:00
|
|
|
|
2012-10-12 16:37:12 +00:00
|
|
|
from syncplay.clientManager import SyncplayClientManager
|
2013-06-08 13:00:44 +00:00
|
|
|
from syncplay.utils import blackholeStdoutForFrozenWindow
|
2013-12-18 06:33:39 +00:00
|
|
|
|
2014-07-02 22:20:31 +00:00
|
|
|
if __name__ == '__main__':
|
2013-06-08 13:00:44 +00:00
|
|
|
blackholeStdoutForFrozenWindow()
|
2012-12-29 14:27:30 +00:00
|
|
|
SyncplayClientManager().run()
|
2013-12-18 06:33:39 +00:00
|
|
|
|