Commit 8180dafa authored by Dylan Wang's avatar Dylan Wang

Fixed OSX's SMTK python installation

parent 7a79d243
......@@ -11,7 +11,7 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${plugin_install_dir}
set(py_files_libs ${SMTK_BIN_DIR}/lib/SMTKCorePython.so
${SMTK_BIN_DIR}/lib/libshiboken-python${PYTHON_VERSION}.1.2.dylib
${SMTK_BIN_DIR}/lib/python${PYTHON_VERSION}/site-packages/shiboken.so
${SMTK_BIN_DIR}/python/smtk/simple.py)
${SMTK_BIN_DIR}/libexec/python/site-packages/smtk/simple.py)
foreach(lib ${py_files_libs})
execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${lib} ${TMP_DIR}/SMTKPlugin)
endforeach()
......@@ -26,7 +26,7 @@ execute_process(
execute_process(
COMMAND ${CMAKE_CURRENT_LIST_DIR}/../remove_code.py
${SMTK_BIN_DIR}/python/smtk/__init__.py
${SMTK_BIN_DIR}/libexec/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