Permalink
Browse files

Set paths to Python executables

  • Loading branch information...
geographika committed Mar 21, 2018
1 parent c358857 commit ecfc86e3b2d0c8e6911ab811900037531527278f
Showing with 7 additions and 6 deletions.
  1. +7 −6 appveyor.yml
View
@@ -51,15 +51,16 @@ build_script:
- cmake --build . --config Release
install:
- "python -m pip install tox"
- if "%platform%" == "x86" SET PYTHON_EXECUTABLE=c:\python27\python.exe
- if "%platform%" == "x64" SET PYTHON_EXECUTABLE=c:\python27-x64\python.exe
- %PYTHON_EXECUTABLE% -m pip install tox
test_script:
- set PATH="%APPVEYOR_BUILD_FOLDER%\build\Release";%APPVEYOR_BUILD_FOLDER%\sdk\%SDK%\bin;%PATH%
- set PROJ_LIB="%APPVEYOR_BUILD_FOLDER%\sdk\%SDK%\bin\proj\SHARE"
- if "%platform%" == "x86" SET PYTHON_FOLDER=c:\python27\python.exe
- if "%platform%" == "x64" SET PYTHON_FOLDER=c:\python27-x64\python.exe
- set PATH=%PYTHON_FOLDER%;%APPVEYOR_BUILD_FOLDER%\build\Release;%APPVEYOR_BUILD_FOLDER%\sdk\%SDK%\bin;%PATH%
- set PROJ_LIB=%APPVEYOR_BUILD_FOLDER%\sdk\%SDK%\bin\proj\SHARE
- set PYTHONPATH=%APPVEYOR_BUILD_FOLDER%\build\mapscript\python\Release;%APPVEYOR_BUILD_FOLDER%\build\mapscript\python
- echo %PATH%
- echo %PROJ_LIB%
- echo %PYTHONPATH%
- cd %APPVEYOR_BUILD_FOLDER%\mapscript\python
- tox

0 comments on commit ecfc86e

Please sign in to comment.