deactivate.bat 368 B

123456789101112131415161718192021
  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. :END