mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
*** empty log message ***
This commit is contained in:
parent
b261d92f98
commit
bc556439d1
26
doc/makepanda/expandimports.bat
Normal file
26
doc/makepanda/expandimports.bat
Normal file
@ -0,0 +1,26 @@
|
||||
@echo off
|
||||
|
||||
REM
|
||||
REM Verify that we can find the 'expandimports' python script
|
||||
REM and the python interpreter. If we can find both, then
|
||||
REM run 'expandimports'.
|
||||
REM
|
||||
|
||||
if not exist makepanda\expandimports.py goto :missing1
|
||||
if not exist thirdparty\win-python\python.exe goto :missing2
|
||||
thirdparty\win-python\python.exe makepanda\expandimports.py %*
|
||||
goto done
|
||||
|
||||
:missing1
|
||||
echo You need to change directory to the root of the panda source tree
|
||||
echo before invoking expandimports.
|
||||
goto done
|
||||
|
||||
:missing2
|
||||
echo You seem to be missing the 'thirdparty' directory. You probably checked
|
||||
echo the source code out from sourceforge. The sourceforge repository is
|
||||
echo missing the 'thirdparty' directory. You will need to supplement the
|
||||
echo code by downloading the 'thirdparty' directory from panda3d.etc.cmu.edu
|
||||
goto done
|
||||
|
||||
:done
|
21
doc/makepanda/expandimports.py
Normal file
21
doc/makepanda/expandimports.py
Normal file
@ -0,0 +1,21 @@
|
||||
########################################################################
|
||||
##
|
||||
## Win32 Usage: makepanda\expandimports.bat
|
||||
## Linux Usage: makepanda/expandimports.py
|
||||
##
|
||||
########################################################################
|
||||
|
||||
import sys,os,re
|
||||
sys.path = ["direct/src/directscripts"] + sys.path
|
||||
import gendocs
|
||||
|
||||
########################################################################
|
||||
##
|
||||
## Make sure panda has been built.
|
||||
##
|
||||
########################################################################
|
||||
|
||||
if (os.path.isfile("built/pandac/input/libpgraph.in")==0) or (os.path.isfile("built/pandac/input/libputil.in")==0):
|
||||
sys.exit("Cannot read the interrogate-output files in built/pandac/input")
|
||||
|
||||
gendocs.expandImports("built/pandac/input", "direct", "direct")
|
Loading…
x
Reference in New Issue
Block a user