From 2271fdf14b4e60d17c5d84fd2a2ef39519b21c3b Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 14 Apr 2013 13:07:00 +0200 Subject: [PATCH] More layout setup tweaking --- erdslangetjie/__init__.py | 4 ++-- erdslangetjie/__main__.py | 2 +- erdslangetjie/editor/__init__.py | 0 scripts/erdslangetjie_editor | 7 +++++++ 4 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 erdslangetjie/editor/__init__.py create mode 100755 scripts/erdslangetjie_editor diff --git a/erdslangetjie/__init__.py b/erdslangetjie/__init__.py index 6cd298b..565bba1 100644 --- a/erdslangetjie/__init__.py +++ b/erdslangetjie/__init__.py @@ -1,3 +1,3 @@ if __name__ == "__main__": - import main - main.main() + import __main__ + __main__.main() diff --git a/erdslangetjie/__main__.py b/erdslangetjie/__main__.py index dbb20cd..0163bf0 100644 --- a/erdslangetjie/__main__.py +++ b/erdslangetjie/__main__.py @@ -1,4 +1,4 @@ def main(): - """ your app starts here + """ Erdslangetjie, a maze game of eluding nemesis """ diff --git a/erdslangetjie/editor/__init__.py b/erdslangetjie/editor/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/scripts/erdslangetjie_editor b/scripts/erdslangetjie_editor new file mode 100755 index 0000000..b0b099f --- /dev/null +++ b/scripts/erdslangetjie_editor @@ -0,0 +1,7 @@ +#!/usr/bin/env python + +import erdslangetjie.editor + +if __name__ == "__main__": + erdslangetjie.editor.main() + -- 2.34.1