makepanda.bat 945 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. goto done
  11. :missing1
  12. echo You need to change directory to the root of the panda source tree
  13. echo before invoking makepanda. For further install instructions, read
  14. echo the installation instructions in the file doc/INSTALL-MK.
  15. goto done
  16. :missing2
  17. echo You seem to be missing the 'thirdparty' directory. You probably checked
  18. echo the source code out from sourceforge. The sourceforge repository is
  19. echo missing the 'thirdparty' directory. You will need to supplement the
  20. echo code by downloading the 'thirdparty' directory from panda3d.etc.cmu.edu
  21. goto done
  22. :done