Skip to content

Commit 915f4a5

Browse files
committed
Use python.org python
1 parent 2b41867 commit 915f4a5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

appveyor.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,22 @@ environment:
1212
- BUILD_TYPE: "Release"
1313
COMPILER: MSVC15
1414
PLATFORM: "Win32"
15+
PYTHON_VERSION: 27
1516
CONDA_INSTALL_LOCN: C:\\Miniconda35
1617
WITH_MPFR: yes
1718
WITH_MPC: yes
1819
- BUILD_TYPE: "Release"
1920
COMPILER: MSVC15
2021
PLATFORM: "x64"
22+
PYTHON_VERSION: 35-x64
2123
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64
2224
WITH_MPFR: yes
2325
WITH_MPC: yes
2426
WITH_LLVM: yes
2527
- BUILD_TYPE: "Release"
2628
COMPILER: MSVC15
2729
PLATFORM: "x64"
30+
PYTHON_VERSION: 36-x64
2831
CONDA_INSTALL_LOCN: C:\\Miniconda36-x64
2932
# - BUILD_TYPE: "Debug"
3033
# COMPILER: MinGW
@@ -48,7 +51,8 @@ install:
4851
- if [%COMPILER%]==[MSVC15] conda update --yes --quiet conda
4952
- if [%COMPILER%]==[MSVC15] conda config --add channels conda-forge
5053
- if [%COMPILER%]==[MSVC15] if [%BUILD_TYPE%]==[Debug] conda config --add channels symengine/label/debug
51-
- if [%COMPILER%]==[MSVC15] conda install --yes mpir=3.0.0
54+
- if [%COMPILER%]==[MSVC15] conda create -n test --yes mpir=3.0.0 vc=14
55+
- if [%COMPILER%]==[MSVC15] activate test
5256
- if [%COMPILER%]==[MSVC15] if [%WITH_MPFR%]==[yes] conda install --yes mpfr=3.1.5
5357
- if [%COMPILER%]==[MSVC15] if [%WITH_MPC%]==[yes] conda install --yes mpc=1.0.3
5458
- if [%COMPILER%]==[MSVC15] if [%WITH_LLVM%]==[yes] conda install --yes llvmdev=3.9
@@ -71,7 +75,7 @@ install:
7175
- if NOT [%COMPILER%]==[MSVC15] call symengine-cpp\bin\appveyor-download.cmd "https://raw.githubusercontent.com/symengine/dependencies/dcc10cce2133e2b57e61c5ced6120139bbcdfa20/python-libs-mingw32.7z" -FileName pylibs.7z
7276
- if NOT [%COMPILER%]==[MSVC15] 7z x -aoa -oC:\ pylibs.7z > NUL
7377

74-
- if NOT [%COMPILER%]==[MSVC15] set C:\Python%PYTHON_VERSION%;C:\Python%PYTHON_VERSION%\Scripts;PATH=%PATH%
78+
- set PATH=C:\Python%PYTHON_VERSION%;C:\Python%PYTHON_VERSION%\Scripts;%PATH%
7579
- pip install nose pytest sympy
7680
- pip install --install-option="--no-cython-compile" cython
7781
- if NOT [%WITH_NUMPY%]==[no] pip install numpy

0 commit comments

Comments
 (0)