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
14 - PYTHONDIR: C:\Python27-x64
18 - PYTHONDIR: C:\Python35
22 - PYTHONDIR: C:\Python35-x64
26 - PYTHONDIR: C:\Python36
30 - PYTHONDIR: C:\Python36-x64
34 - PYTHONDIR: C:\Python37
38 - PYTHONDIR: C:\Python37-x64
43 - ECHO "Installed SDKs:"
44 - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
46 - "SET PATH=%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%"
48 # Check that we have the expected version and architecture for Python
50 - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
52 - "python -m pip install --disable-pip-version-check --user --upgrade pip"
53 - "python -m pip install --upgrade setuptools"
55 # We need wheel installed to build wheels
56 - "python -m pip install wheel"
58 - "pip install -r requirements.txt"
61 - "bash scripts/get_waf.sh"
64 # also build libaubio with waf
65 - python waf configure build install --verbose --msvc_version="msvc 14.0"
66 # clean before building python package
67 - python waf distclean
68 # build, upload and install wheel (inspired by numpy's appveyor)
70 pip wheel -v -v -v --wheel-dir=dist .
71 ls dist -r | Foreach-Object {
72 Push-AppveyorArtifact $_.FullName
73 pip install $_.FullName
77 - "python python\\demos\\demo_create_test_sounds.py"