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 |
| 8 |
| 9 def Build(source_path, wheelhouse_path): |
| 10 subprocess.check_call( |
| 11 ['make', 'CFLAGS=-DSTD_INSPIRED', 'build'], cwd=source_path) |
| 12 |
| 13 path = os.path.join(source_path, 'build', 'dist') |
| 14 subprocess.check_call( |
| 15 ['python', 'setup.py', 'bdist_wheel', '--dist-dir', wheelhouse_path], |
| 16 cwd=path) |
OLD | NEW |