From b31887338f633a77feb94d421244684fe559a559 Mon Sep 17 00:00:00 2001 From: Griatch Date: Mon, 2 Feb 2015 22:00:58 +0100 Subject: [PATCH] Trying with a two-step call on Windows. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 230c286ee4..7aa422d3aa 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, "Lib", "site-packages", "evennia", "server", "evennia_launcher.py") + scriptpath = os.path.join(sys.prefix, "Scripts", "evennia.py") with open(batpath, "w") as batfile: batfile.write("@\"%s\" \"%s\" %%*" % (sys.executable, scriptpath)) - return [batpath] + return [batpath, os.path.join("bin", "windows", "evennia.py")] else: return [os.path.join("bin", "unix", "evennia")]