Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Side by Side Diff: bootstrap/virtualenv/virtualenv_embedded/activate.bat

Issue 1407953011: Re-land: Removed virtualenv from depot_tools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Re-added files that were present before virtualenv Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 @echo off
2 set "VIRTUAL_ENV=__VIRTUAL_ENV__"
3
4 if defined _OLD_VIRTUAL_PROMPT (
5 set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
6 ) else (
7 if not defined PROMPT (
8 set "PROMPT=$P$G"
9 )
10 set "_OLD_VIRTUAL_PROMPT=%PROMPT%"
11 )
12 set "PROMPT=__VIRTUAL_WINPROMPT__ %PROMPT%"
13
14 if not defined _OLD_VIRTUAL_PYTHONHOME (
15 set "_OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%"
16 )
17 set PYTHONHOME=
18
19 if defined _OLD_VIRTUAL_PATH (
20 set "PATH=%_OLD_VIRTUAL_PATH%"
21 ) else (
22 set "_OLD_VIRTUAL_PATH=%PATH%"
23 )
24 set "PATH=%VIRTUAL_ENV%\__BIN_NAME__;%PATH%"
25
26 :END
OLDNEW
« no previous file with comments | « bootstrap/virtualenv/virtualenv.py ('k') | bootstrap/virtualenv/virtualenv_embedded/activate.csh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698