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_game.py | |
| download | robotadventure-master.tar.gz robotadventure-master.zip | |
Diffstat (limited to 'run_game.py')
| -rw-r--r-- | run_game.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/run_game.py b/run_game.py new file mode 100644 index 0000000..7d8c346 --- /dev/null +++ b/run_game.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 main +main.main() |
