mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
deploy-ng: Add panda3d.dist-info to installers
This commit is contained in:
parent
7073609480
commit
cb077fcdae
@ -367,6 +367,8 @@ SectionGroup "Python support"
|
|||||||
File /r "${BUILT}\pandac\input\*"
|
File /r "${BUILT}\pandac\input\*"
|
||||||
SetOutPath $INSTDIR\Pmw
|
SetOutPath $INSTDIR\Pmw
|
||||||
File /r /x CVS "${BUILT}\Pmw\*"
|
File /r /x CVS "${BUILT}\Pmw\*"
|
||||||
|
SetOutPath $INSTDIR\panda3d.dist-info
|
||||||
|
File /nonfatal /r "${BUILT}\panda3d.dist-info\*"
|
||||||
|
|
||||||
!ifdef REGVIEW
|
!ifdef REGVIEW
|
||||||
SetRegView ${REGVIEW}
|
SetRegView ${REGVIEW}
|
||||||
|
@ -211,6 +211,8 @@ def InstallPanda(destdir="", prefix="/usr", outputdir="built", libdir=GetLibDir(
|
|||||||
oscmd("cp doc/ReleaseNotes "+destdir+prefix+"/share/panda3d/ReleaseNotes")
|
oscmd("cp doc/ReleaseNotes "+destdir+prefix+"/share/panda3d/ReleaseNotes")
|
||||||
oscmd("echo '"+prefix+"/share/panda3d' > "+destdir+PPATH+"/panda3d.pth")
|
oscmd("echo '"+prefix+"/share/panda3d' > "+destdir+PPATH+"/panda3d.pth")
|
||||||
oscmd("echo '"+libdir+"/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")):
|
if (sys.platform.startswith("freebsd")):
|
||||||
oscmd("echo '"+libdir+"/panda3d'> "+destdir+"/usr/local/libdata/ldconfig/panda3d")
|
oscmd("echo '"+libdir+"/panda3d'> "+destdir+"/usr/local/libdata/ldconfig/panda3d")
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user