Commit 06e98dd1 authored by Bob Obara's avatar Bob Obara Committed by Kitware Robot

Merge topic 'fix-smtk-python-install-linux'

151031ff Add back the line to install simple.py
e802dbb8 Update smtk.cmake per changes to SMTK release v1.0.0rc1
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !36
parents 4d42c046 151031ff
include(GNUInstallDirs)
if (UNIX) #Apple should never happen
set (SHARED_LIBRARY_SUFFIX "so")
set (PYTHON_SITE "lib/python2.7/site-packages")
......@@ -23,7 +26,7 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${TMP_DIR}/SMTKPlugin
set(plugin_install_dir ${SMTK_BIN_DIR}/${PYTHON_INSTALL}/smtk)
execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${plugin_install_dir})
set(py_files_libs ${SMTK_BIN_DIR}/lib/SMTKCorePython.${SHARED_LIBRARY_SUFFIX}
set(py_files_libs ${SMTK_BIN_DIR}/lib/smtkCorePython.${SHARED_LIBRARY_SUFFIX}
${SMTK_BIN_DIR}/${LIB_SHIBOKEN_PY}
${SMTK_BIN_DIR}/${PYTHON_SITE}/shiboken.${SHARED_LIBRARY_SUFFIX}
${SMTK_BIN_DIR}/python/smtk/simple.py)
......@@ -33,7 +36,7 @@ endforeach()
execute_process(
COMMAND ${pv_python_executable} ${CMAKE_CURRENT_LIST_DIR}/remove_code.py
${SMTK_BIN_DIR}/python/smtk/__init__.py
${SMTK_BIN_DIR}/${CMAKE_INSTALL_LIBEXECDIR}/python/site-packages/smtk/__init__.py
${TMP_DIR}/SMTKPlugin/__init__.py
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment