un-break Windows support

This commit is contained in:
rdb 2011-02-27 15:20:37 +00:00
parent a16fd9f23b
commit 1d66c7c2a0

View File

@ -3164,7 +3164,11 @@ class Packager:
p3dpythonName = 'p3dpython' p3dpythonName = 'p3dpython'
else: else:
self.do_config(p3dpython_name=p3dpythonName) self.do_config(p3dpython_name=p3dpythonName)
self.do_file('p3dpython.exe', newName=p3dpythonName+'.exe')
if self.platform.startswith('win'):
self.do_file('p3dpython.exe', newName=p3dpythonName+'.exe')
else:
self.do_file('p3dpython.exe', newName=p3dpythonName)
# The "Windows" executable appends a 'w' to whatever name is used # The "Windows" executable appends a 'w' to whatever name is used
# above, unless an override name is explicitly specified. # above, unless an override name is explicitly specified.
@ -3173,7 +3177,11 @@ class Packager:
p3dpythonwName = p3dpythonName+'w' p3dpythonwName = p3dpythonName+'w'
else: else:
self.do_config(p3dpythonw_name=p3dpythonwName) self.do_config(p3dpythonw_name=p3dpythonwName)
self.do_file('p3dpythonw.exe', newName=p3dpythonwName+'.exe')
if self.platform.startswith('win'):
self.do_file('p3dpythonw.exe', newName=p3dpythonwName+'.exe')
else:
self.do_file('p3dpythonw.exe', newName=p3dpythonwName)
self.do_file('libp3dpython.dll') self.do_file('libp3dpython.dll')