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