deploy-ng: Add panda3d.dist-info to installers

This commit is contained in:
Mitchell Stokes 2018-05-06 10:54:35 -07:00
parent 7073609480
commit cb077fcdae
2 changed files with 4 additions and 0 deletions

View File

@ -367,6 +367,8 @@ SectionGroup "Python support"
File /r "${BUILT}\pandac\input\*"
SetOutPath $INSTDIR\Pmw
File /r /x CVS "${BUILT}\Pmw\*"
SetOutPath $INSTDIR\panda3d.dist-info
File /nonfatal /r "${BUILT}\panda3d.dist-info\*"
!ifdef REGVIEW
SetRegView ${REGVIEW}

View File

@ -211,6 +211,8 @@ def InstallPanda(destdir="", prefix="/usr", outputdir="built", libdir=GetLibDir(
oscmd("cp doc/ReleaseNotes "+destdir+prefix+"/share/panda3d/ReleaseNotes")
oscmd("echo '"+prefix+"/share/panda3d' > "+destdir+PPATH+"/panda3d.pth")
oscmd("echo '"+libdir+"/panda3d'>> "+destdir+PPATH+"/panda3d.pth")
if os.path.isdir(outputdir+"/panda3d.dist-info"):
oscmd("cp -R "+outputdir+"/panda3d.dist-info "+destdir+PPATH)
if (sys.platform.startswith("freebsd")):
oscmd("echo '"+libdir+"/panda3d'> "+destdir+"/usr/local/libdata/ldconfig/panda3d")
else: