mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 04:57:54 +00:00
setup.py: create bin/tahoe.pyscript on Unix as well as Windows for consistency, and to reduce conditional code. ref #1306
This commit is contained in:
parent
fd6cdc48ae
commit
0693181613
8
setup.py
8
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
|
||||
|
Loading…
Reference in New Issue
Block a user