Chromium Code Reviews| Index: vpython/venv/system_windows.go |
| diff --git a/vpython/venv/system_windows.go b/vpython/venv/system_windows.go |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..29b49e4ccc73ec0ee427b1c1424b086a64c65398 |
| --- /dev/null |
| +++ b/vpython/venv/system_windows.go |
| @@ -0,0 +1,14 @@ |
| +// Copyright 2017 The LUCI Authors. All rights reserved. |
| +// Use of this source code is governed under the Apache License, Version 2.0 |
| +// that can be found in the LICENSE file. |
| + |
| +package venv |
| + |
| +import ( |
| + "path/filepath" |
| +) |
| + |
| +// venvBinPath resolves the path to a VirtualEnv binary. |
| +func venvBinPath(root, name string) string { |
| + return filepath.Join(root, "Scripts", name) |
|
iannucci
2017/02/23 00:54:21
wdyt about just having a `const BinDir = "Scripts"
dnj
2017/02/23 20:38:49
Meh, build-time is nicer, and I think this puts th
|
| +} |