2017-01-29 20:06:08 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2015-08-02 18:59:11 +00:00
|
|
|
import os
|
|
|
|
import sys
|
2016-12-23 08:53:39 +00:00
|
|
|
|
2015-08-02 18:59:11 +00:00
|
|
|
base_path = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
# Insert local directories into path
|
2017-03-05 09:40:39 +00:00
|
|
|
sys.path.append(base_path)
|
|
|
|
sys.path.append(os.path.join(base_path, 'cps'))
|
|
|
|
sys.path.append(os.path.join(base_path, 'vendor'))
|
2015-08-02 18:59:11 +00:00
|
|
|
|
2018-07-09 16:47:36 +00:00
|
|
|
from cps.server import Server
|
2015-08-02 18:59:11 +00:00
|
|
|
|
2016-12-23 08:53:39 +00:00
|
|
|
if __name__ == '__main__':
|
2018-07-09 16:47:36 +00:00
|
|
|
Server.startServer()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|