File: __init__.py

package info (click to toggle)
oolite 1.77.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 41,264 kB
  • ctags: 5,362
  • sloc: objc: 132,090; ansic: 10,457; python: 2,225; sh: 1,325; makefile: 332; perl: 259; xml: 125; php: 5
file content (34 lines) | stat: -rw-r--r-- 732 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
#  __init__.py
#  ooliteConsoleServer
#
#  Created by Jens Ayton on 2007-11-29.
#  Copyright (c) 2007 Jens Ayton. All rights reserved.
#


"""
Module to handle details of communicating with Oolite.
"""


try:
	import twisted
except ImportError:
	raise ImportError("ooliteConsoleServer requires Twisted (http://twistedmatrix.com/)")

try:
	import plistlib
except ImportError:
	raise ImportError("ooliteConsoleServer requires plistlib")


from _protocol import defaultPort as defaultOoliteConsolePort
from OoliteDebugConsoleProtocol import OoliteDebugConsoleProtocol


__author__	= "Jens Ayton <jens@ayton.se>"
__version__	= "1.0"


__all__ = ["PropertyListPacketProtocol", "OoliteDebugConsoleProtocol", "defaultOoliteConsolePort"]