Index: bootstrap/custom_builds/pytz.py |
diff --git a/bootstrap/custom_builds/pytz.py b/bootstrap/custom_builds/pytz.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..304f9c890a79bd4aa0fb29a62a13955925d289b9 |
--- /dev/null |
+++ b/bootstrap/custom_builds/pytz.py |
@@ -0,0 +1,11 @@ |
+import os |
+import subprocess |
+ |
+def Build(source_path, wheelhouse_path): |
+ subprocess.check_call( |
+ ['make', 'CFLAGS=-DSTD_INSPIRED', '.stamp-tzinfo'], cwd=source_path) |
+ |
+ path = os.path.join(source_path, 'src') |
+ subprocess.check_call( |
+ ['python', 'setup.py', 'bdist_wheel', '--dist-dir', wheelhouse_path], |
+ cwd=path) |