Index: bootstrap/bootstrap.py |
diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py |
index c313a83e96aeab8c1b6e36235777c19b4fa8f159..a089a7d0a92312fd5a0becf69bf186e73953b2d9 100755 |
--- a/bootstrap/bootstrap.py |
+++ b/bootstrap/bootstrap.py |
@@ -145,7 +145,8 @@ def activate_env(env, deps): |
env, search_dirs=virtualenv.file_search_dirs()) |
print ' Activating environment' |
- activate_this = os.path.join(env, 'bin', 'activate_this.py') |
+ bin_dir = 'Scripts' if virtualenv.is_win else 'bin' |
+ activate_this = os.path.join(env, bin_dir, 'activate_this.py') |
execfile(activate_this, dict(__file__=activate_this)) |
if cur_deps is None: |