summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/main.py b/main.py
new file mode 100644
index 0000000..c4a00ea
--- /dev/null
+++ b/main.py
@@ -0,0 +1,23 @@
+#!/usr/bin/python2
+
+try:
+ import construct
+ import plyer
+ # import pytmx
+ del construct
+ del plyer
+ # del pytmx
+except ImportError:
+ import os
+ import sys
+ sys.path.append(os.path.join(os.getcwd(), "external"))
+
+from gui.managui import ManaGuiApp
+
+
+def main():
+ ManaGuiApp().run()
+
+
+if __name__ == "__main__":
+ main()