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

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: Addressed comments 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
« no previous file with comments | « bootstrap/util.py ('k') | update_depot_tools.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
pgervais 2015/06/24 00:55:56 This must be run even if ENV already exists, to up
Sergiy Byelozyorov 2015/06/24 05:12:32 Done.
+fi
« no previous file with comments | « bootstrap/util.py ('k') | update_depot_tools.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698