makepanda.bat 963 B

12345678910111213141516171819202122232425262728
  1. @echo off
  2. REM
  3. REM Verify that we can find the 'makepanda' python script
  4. REM and the python interpreter. If we can find both, then
  5. REM run 'makepanda'.
  6. REM
  7. if not exist makepanda\makepanda.py goto :missing1
  8. if not exist thirdparty\win-python\python.exe goto :missing2
  9. thirdparty\win-python\python.exe makepanda\makepanda.py %*
  10. if errorlevel 1 if x%1 == x--slavebuild exit 1
  11. goto done
  12. :missing1
  13. echo You need to change directory to the root of the panda source tree
  14. echo before invoking makepanda. For further install instructions, read
  15. echo the installation instructions in the file doc/INSTALL-MK.
  16. goto done
  17. :missing2
  18. echo You seem to be missing the 'thirdparty' directory. You probably checked
  19. echo the source code out from sourceforge. The sourceforge repository is
  20. echo missing the 'thirdparty' directory. You will need to supplement the
  21. echo code by downloading the 'thirdparty' directory from panda3d.etc.cmu.edu
  22. goto done
  23. :done