*** empty log message ***

This commit is contained in:
Mark Mine 2000-10-12 22:38:13 +00:00
parent c336c328e7
commit cb1c30fbd7
3 changed files with 18 additions and 16 deletions

View File

@ -1,9 +1,9 @@
ATTACH panda ATTACH panda
MODREL ETC_PATH etc MODREL ETC_PATH etc
SEP PYTHONPATH : SEP PYTHONPATH ;
MODREL PYTHONPATH lib MODREL PYTHONPATH lib
MODREL PYTHONPATH lib/py MODREL PYTHONPATH lib/py
MODREL PYTHONPATH src/ffi
MODREL PYTHONPATH src/actor MODREL PYTHONPATH src/actor
MODREL PYTHONPATH src/distributed MODREL PYTHONPATH src/distributed
MODREL PYTHONPATH src/showbase MODREL PYTHONPATH src/showbase
MODREL PYTHONPATH src/ffi

View File

@ -79,7 +79,9 @@ if (not outputDir):
FFIConstants.notify.info('Setting output directory to current directory') FFIConstants.notify.info('Setting output directory to current directory')
outputDir = '.' outputDir = '.'
elif (not os.path.exists(outputDir)): elif (not os.path.exists(outputDir)):
FFIConstants.notify.error('Directory does not exists: ' + outputDir) FFIConstants.notify.info('Directory does not exist, creating: ' + outputDir)
os.mkdir(outputDir)
FFIConstants.notify.info('Setting output directory to: ' + outputDir)
else: else:
FFIConstants.notify.info('Setting output directory to: ' + outputDir) FFIConstants.notify.info('Setting output directory to: ' + outputDir)

View File

@ -1,26 +1,26 @@
#! /bin/sh #! /bin/sh
if [ -z "$CYGWIN_ROOT" ]; then # Linux case
# Add our LD_LIBRARY_PATH to the python path so we can pull in panda modules if [ -z "$PANDA_ROOT" ]; then
PYTHONPATH="$DIRECT"/src/all/python:"$DIRECT"/lib/py:"$LD_LIBRARY_PATH" # Convert semicolons back to colons
PYTHONPATH=`echo $PYTHONPATH | sed 'y/;/:/'`
export PYTHONPATH export PYTHONPATH
# Run unbuffered output, with any options passed in # Run unbuffered output, with any options passed in
exec python -u $* exec python -u $*
exit 1 exit 1
fi fi
# Under Windows/Cygwin, we have to do this whole thing a little differently. # Under Windows/Cygwin, we have to do this whole thing a little differently.
# We have to de-cygwinify the semicolon separated PYTHONPATH
# First, we have to mangle the LD_LIBRARY_PATH into a series of Windows # The new path
# paths separated by semicolons. NEWPYTHONPATH=
PYTHONPATH= # Temporarily change the semicolons into spaces
for path in `echo $LD_LIBRARY_PATH | sed 'y/:/ /'`; do for path in `echo $PYTHONPATH | sed 'y/;/ /'`; do
PYTHONPATH=$PYTHONPATH\;`cygpath -w $path` # For each entry run it through the cygwin filter
NEWPYTHONPATH=$NEWPYTHONPATH\;`cygpath -w $path`
done done
# Set the new PYTHONPATH
# And now prefix that with the python source directories. PYTHONPATH=$NEWPYTHONPATH
PYTHONPATH=`cygpath -w $DIRECT/src/all/python`\;`cygpath -w $DIRECT/lib/py`$PYTHONPATH
export PYTHONPATH export PYTHONPATH
# We can't run with -u under windows for some reason. But we do need to # We can't run with -u under windows for some reason. But we do need to