Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e1c5659

Browse files
committed
Create deactivate.bat
1 parent f7949fb commit e1c5659

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

‎venv/Scripts/deactivate.bat‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@echo off
2+
3+
set VIRTUAL_ENV=
4+
5+
REM Don't use () to avoid problems with them in %PATH%
6+
if not defined _OLD_VIRTUAL_PROMPT goto ENDIFVPROMPT
7+
set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
8+
set _OLD_VIRTUAL_PROMPT=
9+
:ENDIFVPROMPT
10+
11+
if not defined _OLD_VIRTUAL_PYTHONHOME goto ENDIFVHOME
12+
set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
13+
set _OLD_VIRTUAL_PYTHONHOME=
14+
:ENDIFVHOME
15+
16+
if not defined _OLD_VIRTUAL_PATH goto ENDIFVPATH
17+
set "PATH=%_OLD_VIRTUAL_PATH%"
18+
set _OLD_VIRTUAL_PATH=
19+
:ENDIFVPATH

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /