setup.py: create bin/tahoe.pyscript on Unix as well as Windows for consistency, and...
authordavid-sarah <david-sarah@jacaranda.org>
Wed, 19 Jan 2011 23:31:45 +0000 (15:31 -0800)
committerdavid-sarah <david-sarah@jacaranda.org>
Wed, 19 Jan 2011 23:31:45 +0000 (15:31 -0800)
setup.py

index 1d6af75105b47ccc81f946c01121d22c743180e2..7cf70f3e9323dd7405ca6d086fc1e2d88bf746e7 100644 (file)
--- 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