mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
makepackage: allow Homebrew Python to find Panda3D libraries
This commit is contained in:
parent
9f9e1d8293
commit
4ceb494127
@ -569,6 +569,11 @@ def MakeInstallerOSX(version, runtime=False, python_versions=[], **kwargs):
|
|||||||
oscmd("mkdir -p %s" % (dir))
|
oscmd("mkdir -p %s" % (dir))
|
||||||
WriteFile("%s/Panda3D.pth" % (dir), "/Developer/Panda3D")
|
WriteFile("%s/Panda3D.pth" % (dir), "/Developer/Panda3D")
|
||||||
|
|
||||||
|
# Also place it somewhere the Homebrew version of Python can find it.
|
||||||
|
dir = "dstroot/pybindings%s/usr/local/lib/python%s/site-packages" % (pyver, pyver)
|
||||||
|
oscmd("mkdir -p %s" % (dir))
|
||||||
|
WriteFile("%s/Panda3D.pth" % (dir), "/Developer/Panda3D")
|
||||||
|
|
||||||
if not PkgSkip("FFMPEG"):
|
if not PkgSkip("FFMPEG"):
|
||||||
oscmd("mkdir -p dstroot/ffmpeg/Developer/Panda3D/lib")
|
oscmd("mkdir -p dstroot/ffmpeg/Developer/Panda3D/lib")
|
||||||
oscmd("cp -R %s/lib/libp3ffmpeg.* dstroot/ffmpeg/Developer/Panda3D/lib/" % outputdir)
|
oscmd("cp -R %s/lib/libp3ffmpeg.* dstroot/ffmpeg/Developer/Panda3D/lib/" % outputdir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user