OLD | NEW |
---|---|
(Empty) | |
1 import os | |
2 import subprocess | |
3 | |
4 def Build(source_path, wheelhouse_path): | |
5 subprocess.check_call( | |
6 ['make', 'CFLAGS=-DSTD_INSPIRED', '.stamp-tzinfo'], cwd=source_path) | |
7 | |
8 path = os.path.join(source_path, 'src') | |
9 subprocess.check_call( | |
10 ['python', 'setup.py', 'bdist_wheel', '--dist-dir', wheelhouse_path], | |
11 cwd=path) | |
OLD | NEW |