1 # appveyor configuration. See http://www.appveyor.com/docs/appveyor-yml
2 # and http://www.appveyor.com/docs/installed-software#python
8 # pre-installed python version, see:
9 # http://www.appveyor.com/docs/installed-software#python
10 - PYTHONDIR: "C:\\Python27"
11 PYTHON_VERSION: "2.7.x"
14 - PYTHONDIR: "C:\\Python27-x64"
15 PYTHON_VERSION: "2.7.x"
18 - PYTHONDIR: "C:\\Python34"
19 PYTHON_VERSION: "3.4.x"
22 - PYTHONDIR: "C:\\Python34-x64"
23 PYTHON_VERSION: "3.4.x"
26 - PYTHONDIR: "C:\\Python35"
27 PYTHON_VERSION: "3.5.x"
30 - PYTHONDIR: "C:\\Python35-x64"
31 PYTHON_VERSION: "3.5.x"
33 # add path required to run preprocessor step
34 PATH_EXTRAS: "c:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin"
38 - ECHO "Installed SDKs:"
39 - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
41 # Check that we have the expected version and architecture for Python
42 - "%PYTHONDIR%\\python.exe --version"
43 - "%PYTHONDIR%\\python.exe -c \"import struct; print(struct.calcsize('P') * 8)\""
45 - "%PYTHONDIR%\\python.exe -m pip install --disable-pip-version-check --user --upgrade pip"
46 - "%PYTHONDIR%\\python.exe -m pip install --upgrade setuptools"
48 # We need wheel installed to build wheels
49 - "%PYTHONDIR%\\python.exe -m pip install wheel"
51 - "SET PATH=%PATH_EXTRAS%;%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%"
54 - "bash scripts/get_waf.sh"
57 # build python module without using libaubio
58 - "%PYTHONDIR%\\python.exe -m pip install -r requirements.txt"
59 - "python setup.py build"
60 - "%PYTHONDIR%\\python.exe -m pip install ."
61 - "python python\\demos\\demo_create_test_sounds.py"
64 - "python waf distclean"
66 - python waf configure build --verbose --msvc_version="msvc 14.0"