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

Unified Diff: update_depot_tools

Issue 1200843003: Added virtualenv for depot_tools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Fix on Windows Created 5 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: update_depot_tools
diff --git a/update_depot_tools b/update_depot_tools
index 8528b8bab511e07099a54542c43aac3e58b1f508..480dff339561713bb1ecf7f76e35c76507fcddd5 100755
--- a/update_depot_tools
+++ b/update_depot_tools
@@ -153,3 +153,9 @@ then
fi
find "$base_dir" -iname "*.pyc" -exec rm {} \;
+
+# Initialize virtualenv.
+if [ ! -d "$base_dir/ENV" ]; then
+ cd $base_dir
+ python -u ./bootstrap/bootstrap.py --deps_file bootstrap/deps.pyl ENV
+fi
« bootstrap/bootstrap.py ('K') | « bootstrap/util.py ('k') | update_depot_tools.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698