|
@@ -3095,7 +3095,7 @@ class Packager:
|
|
|
|
|
|
|
|
self.currentPackage.signParams.append((certificate, chain, pkey, password))
|
|
self.currentPackage.signParams.append((certificate, chain, pkey, password))
|
|
|
|
|
|
|
|
- def do_setupPanda3D(self):
|
|
|
|
|
|
|
+ def do_setupPanda3D(self, p3dpythonName=None):
|
|
|
""" A special convenience command that adds the minimum
|
|
""" A special convenience command that adds the minimum
|
|
|
startup modules for a panda3d package, intended for developers
|
|
startup modules for a panda3d package, intended for developers
|
|
|
producing their own custom panda3d for download. Should be
|
|
producing their own custom panda3d for download. Should be
|
|
@@ -3160,9 +3160,13 @@ class Packager:
|
|
|
|
|
|
|
|
else:
|
|
else:
|
|
|
# Anywhere else, we just ship the executable file p3dpython.exe.
|
|
# Anywhere else, we just ship the executable file p3dpython.exe.
|
|
|
- self.do_file('p3dpython.exe')
|
|
|
|
|
|
|
+ if p3dpythonName is None:
|
|
|
|
|
+ p3dpythonName = 'p3dpython'
|
|
|
|
|
+ else:
|
|
|
|
|
+ self.do_config(p3dpython_name=p3dpythonName)
|
|
|
|
|
+ self.do_file('p3dpython.exe', newName=p3dpythonName+'.exe')
|
|
|
if self.platform.startswith('win'):
|
|
if self.platform.startswith('win'):
|
|
|
- self.do_file('p3dpythonw.exe')
|
|
|
|
|
|
|
+ self.do_file('p3dpythonw.exe', newName=p3dpythonName+'w.exe')
|
|
|
|
|
|
|
|
self.do_file('libp3dpython.dll')
|
|
self.do_file('libp3dpython.dll')
|
|
|
|
|
|