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