8000 Revert "Grasping at straws: try using conda to set up environment" · pythonnet/pythonnet@1fda82b · GitHub
[go: up one dir, main page]

Skip to content

Commit 1fda82b

Browse files
author
Benoit Hudson
committed
Revert "Grasping at straws: try using conda to set up environment"
This reverts commit f947e3b. It didn't work because conda isn't apparently available.
1 parent f947e3b commit 1fda82b

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

appveyor.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,18 @@ environment:
2828
- PYTHON_VERSION: 3.5
2929
- PYTHON_VERSION: 3.6
3030

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+
3140
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
3543
- pip install --upgrade setuptools
3644
- pip install --upgrade -r requirements.txt
3745

0 commit comments

Comments
 (0)
0