diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-05-25 00:08:11 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-05-25 00:08:11 +0200 |
commit | 8a273e6cd05113ea70117800978d18f4f9ba351f (patch) | |
tree | bd73f7d416bb87a10a915dd1015a6eb51b735bb3 | |
parent | 60125bf31053e77d1f5b9f799b50e1abbc5c8cdd (diff) |
Fix Python version
-rw-r--r-- | .appveyor.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 9f10ae1d..1334004b 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -37,9 +37,8 @@ init: install: - vcpkg install tbb:x64-windows boost-disjoint-sets:x64-windows boost-serialization:x64-windows boost-date-time:x64-windows boost-system:x64-windows boost-filesystem:x64-windows boost-units:x64-windows boost-thread:x64-windows boost-program-options:x64-windows eigen3:x64-windows cgal:x64-windows - - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - - python3 --version - - python3 -m pip install -U pip setuptools numpy matplotlib scipy Cython pytest sphinx sphinxcontrib-bibtex + - if "%target%"=="Python" "%PYTHON%\\python.exe --version" + - if "%target%"=="Python" "%PYTHON%\\python.exe -m pip install -U pip setuptools numpy matplotlib scipy Cython pytest" build_script: - mkdir build @@ -48,5 +47,5 @@ build_script: - if NOT "%target%"=="Python" MSBuild GUDHIdev.sln /m /p:Configuration=Release /p:Platform=x64 - if NOT "%target%"=="Python" ctest -j 1 -C Release -E diff_files - if "%target%"=="Python" cd src/cython - - if "%target%"=="Python" python3 setup.py install + - if "%target%"=="Python" "%PYTHON%\\python.exe setup.py install" - if "%target%"=="Python" MSBuild RUN_TESTS.vcxproj |