aboutsummaryrefslogtreecommitdiff
path: root/appveyor.bat
blob: a189b84f973d72a938e15f18e1219e019bfc2946 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
setlocal

echo %PATH%
pip install wheel

cd %REPO_DIR%
git checkout %BUILD_COMMIT%
mingw-get
sh autogen.sh

REM cd python
REM sed -i '/Wno-sign-compare/a \ \ \ \ extra_compile_args.append(\'-D_hypot=hypot\')' setup.py
REM cat setup.py
REM 
REM REM sed -i 's/\[\'-Wno-write-strings\',/\[\]/g' setup.py
REM REM sed -i '/Wno-invalid-offsetof/d' setup.py
REM REM sed -i '/Wno-sign-compare/d' setup.py
REM 
REM dir %MINGW%
REM set path
REM gcc
REM %MINGW%\gcc
REM python setup.py bdist_wheel --cpp_implementation --compile_static_extension