Skip to content

Commit

Permalink
spit numpy status
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed May 22, 2017
1 parent f19396d commit b746264
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions appveyor.yml
Expand Up @@ -50,6 +50,7 @@ install:
- call %OSGEO4W_ROOT%\bin\py3_env.bat
# install numpy this way
- c:\OSGeo4W64\apps\Python36\python.exe -m pip install numpy
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
- set PATH=%PATH%;C:\Program Files (x86)\MSBuild\14.0\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Tools\GitVersion;C:\Program Files (x86)\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\AppVeyor\BuildAgent\
- echo %PATH%
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/FindNumPy.cmake
Expand Up @@ -20,7 +20,7 @@ FIND_PACKAGE(PythonLibs QUIET REQUIRED)
EXECUTE_PROCESS(COMMAND "${PYTHON_EXECUTABLE}" -c "import numpy; print (numpy.get_include()); print (numpy.version.version)"
OUTPUT_VARIABLE NUMPY_OUTPUT
ERROR_VARIABLE NUMPY_ERROR)
message(STATUS "Numpy output: ${NUMPY_OUTPUT}")
IF(NOT NUMPY_ERROR)
STRING(REPLACE "\n" ";" NUMPY_OUTPUT ${NUMPY_OUTPUT})
LIST(GET NUMPY_OUTPUT 0 NUMPY_INCLUDE_DIR)
Expand Down

0 comments on commit b746264

Please sign in to comment.