activate.bat 680 B

1234567891011121314151617181920212223242526272829303132
  1. @echo off
  2. set "VIRTUAL_ENV=C:\Users\FinnMertens\Desktop\MOTT´ú¸Õ\Coffee Project\venv"
  3. if not defined PROMPT (
  4. set "PROMPT=$P$G"
  5. )
  6. if defined _OLD_VIRTUAL_PROMPT (
  7. set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
  8. )
  9. if defined _OLD_VIRTUAL_PYTHONHOME (
  10. set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
  11. )
  12. set "_OLD_VIRTUAL_PROMPT=%PROMPT%"
  13. set "PROMPT=(venv) %PROMPT%"
  14. if defined PYTHONHOME (
  15. set "_OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%"
  16. set PYTHONHOME=
  17. )
  18. if defined _OLD_VIRTUAL_PATH (
  19. set "PATH=%_OLD_VIRTUAL_PATH%"
  20. ) else (
  21. set "_OLD_VIRTUAL_PATH=%PATH%"
  22. )
  23. set "PATH=%VIRTUAL_ENV%\Scripts;%PATH%"
  24. :END