changeset 54:e3733005b8bb

More meaningful executable name
author Radomir Dopieralski <moindev@sheep.art.pl>
date Tue, 01 Jan 2008 15:50:34 +0100
parents c60b2be0c52e
children 17b5a0cc33d9
files junk.py main.py readme.txt
diffstat 3 files changed, 11 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/junk.py	Tue Jan 01 15:50:34 2008 +0100
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+import os
+import sys
+
+base_path = os.path.split(os.path.abspath(sys.argv[0]))[0]
+sys.path.insert(0, os.path.join(base_path, "lib"))
+import game
+game.Game().main_loop()
--- a/main.py	Tue Jan 01 15:48:30 2008 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-#!/usr/bin/env python
-
-import os
-import sys
-
-base_path = os.path.split(os.path.abspath(sys.argv[0]))[0]
-sys.path.insert(0, os.path.join(base_path, "lib"))
-import game
-game.Game().main_loop()
--- a/readme.txt	Tue Jan 01 15:48:30 2008 +0100
+++ b/readme.txt	Tue Jan 01 15:50:34 2008 +0100
@@ -3,5 +3,5 @@
 You need Python (http://python.org) to run it, as well
 as Pygame (http://pygame.org), a Python library.
 
-Either double-click the main.py file, or run:
-python main.py
+Either double-click the junk.py file, or run:
+python junk.py