@@ -1486,7 +1486,7 @@ def CreatePandaVersionFiles():
14861486
14871487##########################################################################################
14881488#
1489- # Copy the "direct" tree
1489+ # Copy the "direct" tree and panda3d.py
14901490#
14911491##########################################################################################
14921492
@@ -4524,6 +4524,7 @@ def MakeInstallerOSX():
45244524 oscmd ("ln -s /usr/bin/python Panda3D-tpl-rw/Panda3D/%s/bin/ppython" % VERSION )
45254525 oscmd ("sed -e 's@\\ $1@%s@' < direct/src/directscripts/profilepaths-osx.command >> Panda3D-tpl-rw/panda3dpaths.command" % VERSION )
45264526 WriteFile ("Panda3D-tpl-rw/Panda3D/%s/lib/direct/__init__.py" % VERSION , "" )
4527+ oscmd ("cp direct/src/ffi/panda3d.py Panda3D-tpl-rw/Panda3D/%s/lib/panda3d.py" % VERSION )
45274528 oscmd ("cp %s/etc/Config.prc Panda3D-tpl-rw/Panda3D/%s/etc/Config.prc" % (GetOutputDir (), VERSION ))
45284529 oscmd ("cp %s/etc/Confauto.prc Panda3D-tpl-rw/Panda3D/%s/etc/Confauto.prc" % (GetOutputDir (), VERSION ))
45294530 oscmd ("cp -R %s/include Panda3D-tpl-rw/Panda3D/%s/include" % (GetOutputDir (), VERSION ))
@@ -4547,6 +4548,7 @@ def MakeInstallerOSX():
45474548 compileall .compile_dir ("Panda3D-tpl-rw/Panda3D/" + VERSION + "/lib/Pmw" )
45484549 oscmd ("chmod -R 555 Panda3D-tpl-rw/Panda3D/" + VERSION + "/lib/direct" )
45494550 oscmd ("chmod -R 555 Panda3D-tpl-rw/Panda3D/" + VERSION + "/lib/pandac" )
4551+ oscmd ("chmod 555 Panda3D-tpl-rw/Panda3D/" + VERSION + "/lib/panda3d.py" )
45504552 oscmd ("chmod -R 555 Panda3D-tpl-rw/Panda3D/" + VERSION + "/models" )
45514553 if os .path .isdir ("samples" ): oscmd ("chmod -R 555 Panda3D-tpl-rw/Panda3D/" + VERSION + "/samples" )
45524554 if os .path .isdir (GetOutputDir ()+ "/Pmw" ): oscmd ("chmod -R 555 Panda3D-tpl-rw/Panda3D/" + VERSION + "/lib/Pmw" )
0 commit comments