diff options
| author | Jeff Armstrong <jeff@approximatrix.com> | 2013-05-29 09:16:47 -0400 |
|---|---|---|
| committer | Jeff Armstrong <jeff@approximatrix.com> | 2013-05-29 09:16:47 -0400 |
| commit | bc9c79c6abcc3bb53a09147f2d66f7f36dbca28c (patch) | |
| tree | 31d739939b23f3fc287112a23f9e7861703c1315 /run_editor.py | |
| download | robotadventure-bc9c79c6abcc3bb53a09147f2d66f7f36dbca28c.tar.gz robotadventure-bc9c79c6abcc3bb53a09147f2d66f7f36dbca28c.zip | |
Diffstat (limited to 'run_editor.py')
| -rw-r--r-- | run_editor.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/run_editor.py b/run_editor.py new file mode 100644 index 0000000..df06094 --- /dev/null +++ b/run_editor.py @@ -0,0 +1,16 @@ +#! /usr/bin/env python + +import sys +import os + + +try: + __file__ +except NameError: + pass +else: + libdir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib')) + sys.path.insert(0, libdir) + +import editor +editor.editor() |
