mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
Properly build and install the python tools in BINDIR/ext_build/python. Specify more dependencies.
This commit is contained in:
parent
a1b3fa7290
commit
fb98f89679
5 changed files with 21 additions and 14 deletions
3
external/python_build.cmake
vendored
3
external/python_build.cmake
vendored
|
@ -2,7 +2,8 @@ SET(ENV{HDF5_DIR} ${HDF5_DIR})
|
|||
SET(ENV{NETCDF4_DIR} ${NETCDF4_DIR})
|
||||
SET(ENV{CPPFLAGS} ${PYTHON_CPPFLAGS})
|
||||
SET(ENV{LDFLAGS} ${PYTHON_LDFLAGS})
|
||||
SET(ENV{PYTHONPATH} ${TARGET_PATH}/lib/python2.7/site-packages:$ENV{PYTHONPATH})
|
||||
SET(ENV{VOID_GSL} ${VOID_GSL})
|
||||
SET(ENV{PYTHONPATH} ${PYTHON_LOCAL_SITE_PACKAGE}:$ENV{PYTHONPATH})
|
||||
execute_process(
|
||||
COMMAND ${PYTHON_EXECUTABLE} setup.py build
|
||||
RESULT_VARIABLE RET_VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue