From 3c1ada6fa6439b6527f9c7ba7ae91756ca8e309a Mon Sep 17 00:00:00 2001 From: Griatch Date: Mon, 2 Feb 2015 20:59:15 +0100 Subject: [PATCH] Path adjustments. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 79971729dc..e524cad58e 100644 --- a/setup.py +++ b/setup.py @@ -28,8 +28,9 @@ def get_scripts(): """ if os.name == "nt": batpath = os.path.join("bin", "windows", "evennia.bat") + scriptpath = os.path.join(sys.prefix, "bin", "windows", "evennia.py") with open(batpath, "w") as batfile: - batfile.write("@\"%s\" \"%s\" %%*" % (sys.executable, batpath)) + batfile.write("@\"%s\" \"%s\" %%*" % (sys.executable, scriptpath)) return [batpath] else: return [os.path.join("bin", "unix", "evennia")]