File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,18 @@ environment:
28
28
- PYTHON_VERSION : 3.5
29
29
- PYTHON_VERSION : 3.6
30
30
31
+ init :
32
+ # Update Environment Variables based on matrix/platform
33
+ - set PY_VER=%PYTHON_VERSION:.=%
34
+ - set PYTHON=C:\PYTHON%PY_VER%
35
+ - if %PLATFORM%==x64 (set PYTHON=%PYTHON%-x64)
36
+
37
+ # Put desired Python version first in PATH
38
+ - set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
39
+
31
40
install :
32
- # Set up the python environment
33
- - conda create -n testenv python=%PYTHON_VERSION% pip
34
- - activate testenv
41
+ # Upgrade setuptools to find MSVC. Otherwise you get "error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat)."
42
+ - python -m pip install -U pip
35
43
- pip install --upgrade setuptools
36
44
- pip install --upgrade -r requirements.txt
37
45
You can’t perform that action at this time.
0 commit comments