From 86311805295c71583d915636108747ff471211d9 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 1 Mar 2015 12:43:36 +0100 Subject: [PATCH] Changed the windows launcher name to evennia_launcher.py instead of just evennia.py since Windows requires a batfile (named evennia) in order to work, and there is a name clash between them otherwise. --- bin/windows/{evennia.py => evennia_launcher.py} | 0 setup.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename bin/windows/{evennia.py => evennia_launcher.py} (100%) diff --git a/bin/windows/evennia.py b/bin/windows/evennia_launcher.py similarity index 100% rename from bin/windows/evennia.py rename to bin/windows/evennia_launcher.py diff --git a/setup.py b/setup.py index 7aa422d3a..b0057fff9 100644 --- a/setup.py +++ b/setup.py @@ -28,10 +28,10 @@ def get_scripts(): """ if os.name == "nt": batpath = os.path.join("bin", "windows", "evennia.bat") - scriptpath = os.path.join(sys.prefix, "Scripts", "evennia.py") + scriptpath = os.path.join(sys.prefix, "Scripts", "evennia_launcher.py") with open(batpath, "w") as batfile: batfile.write("@\"%s\" \"%s\" %%*" % (sys.executable, scriptpath)) - return [batpath, os.path.join("bin", "windows", "evennia.py")] + return [batpath, os.path.join("bin", "windows", "evennia_launcher.py")] else: return [os.path.join("bin", "unix", "evennia")]