This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/python/yap_kernel/CMakeLists.txt

20 lines
473 B
CMake
Raw Normal View History

2016-08-18 08:17:04 +01:00
configure_file ("setup.py.cmake" "setup.py" )
set(SETUP_PY "${CMAKE_CURRENT_BINARY_DIR}/setup.py")
add_custom_target ( YAPKernel ALL
COMMAND ${PYTHON_EXECUTABLE} setup.py build -f
DEPENDS yap_kernel.py
)
2017-02-20 14:37:26 +00:00
set( PYTHON_INSTALL install)
2016-08-18 08:17:04 +01:00
2017-02-20 14:37:26 +00:00
install(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY} ${PYTHON_INSTALL} -f
2016-08-18 08:17:04 +01:00
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})")
install(FILES jupyter.yap
DESTINATION ${libpl}
)