2017-01-29 21:06:08 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2015-08-02 20:59:11 +02:00
|
|
|
import os
|
|
|
|
import sys
|
2016-12-23 09:53:39 +01: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 10:40:39 +01: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 09:53:39 +01:00
|
|
|
if __name__ == '__main__':
|
2018-07-09 18:47:36 +02:00
|
|
|
Server.startServer()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|