OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import os |
| 6 import subprocess |
| 7 import sys |
| 8 |
| 9 |
| 10 def Build(source_path, wheelhouse_path): |
| 11 assert hasattr(sys, 'real_prefix'), 'virtualenv must be activate' |
| 12 pip_path = os.path.join(sys.prefix, 'bin', 'pip') |
| 13 subprocess.check_call([pip_path, 'wheel', '-w', wheelhouse_path, |
| 14 '--no-deps', './docutils'], |
| 15 cwd=source_path) |
OLD | NEW |