mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
add sys.prefix
This commit is contained in:
parent
0c5dcd0b66
commit
0f723c4170
@ -6,7 +6,7 @@ import sys,os
|
||||
# Make sure the panda DLL directory is first on the path.
|
||||
if (sys.platform == "win32"):
|
||||
target = None
|
||||
for dir in sys.path:
|
||||
for dir in sys.path + [sys.prefix]:
|
||||
lib = os.path.join(dir,"libpandaexpress.dll")
|
||||
if (os.path.exists(lib)):
|
||||
target = dir
|
||||
|
Loading…
x
Reference in New Issue
Block a user