deactivate.bat 371 B

12345678910111213141516171819202122
  1. @echo off
  2. if defined _OLD_VIRTUAL_PROMPT (
  3. set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
  4. )
  5. set _OLD_VIRTUAL_PROMPT=
  6. if defined _OLD_VIRTUAL_PYTHONHOME (
  7. set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
  8. set _OLD_VIRTUAL_PYTHONHOME=
  9. )
  10. if defined _OLD_VIRTUAL_PATH (
  11. set "PATH=%_OLD_VIRTUAL_PATH%"
  12. )
  13. set _OLD_VIRTUAL_PATH=
  14. set VIRTUAL_ENV=
  15. set VIRTUAL_ENV_PROMPT=
  16. :END