mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
fix web plugin panda3d.* import issue on windows
This commit is contained in:
parent
4d44270ca1
commit
bbcf2e4267
@ -1660,7 +1660,10 @@ CreatePandaVersionFiles()
|
||||
if (PkgSkip("PYTHON")==0):
|
||||
CopyTree(GetOutputDir()+'/direct', 'direct/src')
|
||||
ConditionalWriteFile(GetOutputDir() + '/direct/__init__.py', "")
|
||||
CopyFile(GetOutputDir()+'/lib/panda3d.py', 'direct/src/ffi/panda3d.py')
|
||||
if (sys.platform.startswith("win")):
|
||||
CopyFile(GetOutputDir()+'/bin/panda3d.py', 'direct/src/ffi/panda3d.py')
|
||||
else:
|
||||
CopyFile(GetOutputDir()+'/lib/panda3d.py', 'direct/src/ffi/panda3d.py')
|
||||
|
||||
##########################################################################################
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user