mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
make_installer.py now ported to OSX
This commit is contained in:
parent
80196acac8
commit
3b52f1c49b
@ -4385,6 +4385,12 @@ def MakeInstallerLinux():
|
||||
# oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec "+ARCH)
|
||||
|
||||
def MakeInstallerOSX():
|
||||
if (RUNTIME):
|
||||
# Invoke the make_installer script.
|
||||
AddToPathEnv("DYLD_LIBRARY_PATH", GetOutputDir() + "/plugins")
|
||||
oscmd(SDK["PYTHONEXEC"] + " direct/src/plugin_installer/make_installer.py")
|
||||
return
|
||||
|
||||
import compileall
|
||||
PYTHONV=SDK["PYTHONVERSION"].replace("python", "").strip()
|
||||
if (os.path.isfile("Panda3D-tpl-rw.dmg")): oscmd("rm -f Panda3D-tpl-rw.dmg")
|
||||
|
Loading…
x
Reference in New Issue
Block a user