From 0693181613914c84f83b73b47c2193bd0a3c5716 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Wed, 19 Jan 2011 15:31:45 -0800 Subject: [PATCH] setup.py: create bin/tahoe.pyscript on Unix as well as Windows for consistency, and to reduce conditional code. ref #1306 --- setup.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 1d6af751..7cf70f3e 100644 --- a/setup.py +++ b/setup.py @@ -295,11 +295,9 @@ class MakeExecutable(Command): def run(self): bin_tahoe_template = os.path.join("bin", "tahoe-script.template") - if sys.platform == 'win32': - # 'tahoe' script is needed for cygwin - script_names = ["tahoe.pyscript", "tahoe"] - else: - script_names = ["tahoe"] + # tahoe.pyscript is really only necessary for Windows, but we also + # create it on Unix for consistency. + script_names = ["tahoe.pyscript", "tahoe"] # Create the tahoe script file under the 'bin' directory. This # file is exactly the same as the 'tahoe-script.template' script -- 2.45.2