Skip to content

Commit cf3361b

Browse files
committed
Set the MSVC paths manually since conda doesn't look for "VC++ for python 2008"
1 parent 438aead commit cf3361b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ configuration:
1616
environment:
1717
matrix:
1818
- CONDA_LOC: "C:\\Miniconda-x64"
19+
VS_PATH: "C:\\Users\\appveyor\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0"
1920
- CONDA_LOC: "C:\\Miniconda35-x64"
20-
- CONDA_LOC: "C:\\Miniconda36-x64"
21+
VS_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC"
2122

2223
install:
2324
# This breaks conda-build because of git
@@ -30,6 +31,7 @@ build: off
3031

3132
test_script:
3233
- cmd: for /f "tokens=*" %%i in ('python -c "import versioneer; print(versioneer.get_version())"') do set GPUARRAY_VERSION=%%i
34+
- cmd: "%VS_PATH%"\vcvarsall x64
3335
- cmd: conda build conda
3436

3537
deploy_script:

0 commit comments

Comments
 (0)