aboutsummaryrefslogtreecommitdiff
path: root/appveyor.bat
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.bat')
-rw-r--r--appveyor.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/appveyor.bat b/appveyor.bat
new file mode 100644
index 00000000..52b56b06
--- /dev/null
+++ b/appveyor.bat
@@ -0,0 +1,10 @@
+setlocal
+
+pip install wheel
+cd %REPO_DIR%\python
+git checkout %BUILD_COMMIT%
+sed -i 's/\[\'-Wno-write-strings\',/\[\]/g' setup.py
+sed -i '/Wno-invalid-offsetof/d' setup.py
+sed -i '/Wno-sign-compare/d' setup.py
+cat setup.py
+python setup.py bdist_wheel --cpp_implementation --compile_static_extension