Please sign in to comment.
Moved original modules into a single Python package called nukeExtern…
…alControl, and renamed them to 'client' and 'server.' Moved constants, exception definitions, and pickle-safe type lists to a new 'common' submodule. Also cleaned up some docstrings.
- Loading branch information...
Showing with 47 additions and 57 deletions.
|@@ -0,0 +1,28 @@|
|+SOCKET_BUFFER_SIZE = 4096|
|+MAX_SOCKET_BYTES = 2048|
|+# These constants set the default port range for any automatic searches.|
|+DEFAULT_START_PORT = 54200|
|+DEFAULT_END_PORT = 54300|
|+# This constant should be set to whatever absolute or relative call your system|
|+# uses to launch Nuke (excluding any flags or arguments).|
|+NUKE_EXEC = 'Nuke'|
|+# Safe type lists for pickling. Objects whose types are not included in one|
|+# of these lists will be represented by proxy objects on the client side.|
|+basicTypes = [int, float, complex, str, unicode, buffer, xrange, bool, type(None)]|
|+listTypes = [list, tuple, set, frozenset]|
|+dictTypes = [dict]|