5 # install the library, .desktop, and plasma.py
6 PYTHON_INSTALL(pyappletscript.py ${DATA_INSTALL_DIR}/plasma_scriptengine_python)
7 PYTHON_INSTALL(plasma_importer.py ${DATA_INSTALL_DIR}/plasma_scriptengine_python)
8 PYTHON_INSTALL(pydataengine.py ${DATA_INSTALL_DIR}/plasma_scriptengine_python)
9 PYTHON_INSTALL(plasmascript.py ${PYTHON_SITE_PACKAGES_DIR}/PyKDE4)
11 install(FILES plasma-scriptengine-applet-python.desktop
12 DESTINATION ${SERVICES_INSTALL_DIR})
13 install(FILES plasma-scriptengine-dataengine-python.desktop
14 DESTINATION ${SERVICES_INSTALL_DIR})
16 ###########################################################################
18 OPTION(INSTALL_PYTHON_TEST_PLASMA "Install test python applet" OFF)
20 if(INSTALL_PYTHON_TEST_PLASMA )
22 install(DIRECTORY test/plasma-applet-pyclock DESTINATION ${DATA_INSTALL_DIR}/plasma/plasmoids/ PATTERN .svn EXCLUDE)
24 #TODO where install it ?
25 #install(DIRECTORY test/plasma-dataengine-pytime DESTINATION ${DATA_INSTALL_DIR}/plasma/engines)
27 endif(INSTALL_PYTHON_TEST_PLASMA)