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

Unified Diff: setup_env.bat

Issue 27603003: Add back module paths from old python_26 configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/cygwin
Patch Set: modify PYTHONPATH instead of PATH Created 7 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: setup_env.bat
diff --git a/setup_env.bat b/setup_env.bat
index 361a1bad8af1064dd1358c9346908e1032f9b720..b86cf3718991538e36672adda50348cb9d395faa 100755
--- a/setup_env.bat
+++ b/setup_env.bat
@@ -1,4 +1,7 @@
:: This script adds cygwin to the path
@echo OFF
-set PATH=%~dp0\bin;%PATH%
+set "PATH=%~dp0\bin;%PATH%"
+:: Make sure systems with non-depot_tools python can still find modules that
+:: were previously included via python_26/Lib/site-packages.
+set "PYTHONPATH=%~dp0\..\..\tools\python;%PYTHONPATH%"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698