add more spacing
[personal-kdebase.git] / workspace / plasma / scriptengines / python / CMakeLists.txt
blob1cfb7d6bf1d524b85edab5151882f1638d287bf9
1 project(plasma-python)
3 INCLUDE(PythonMacros)
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 ###########################################################################
17 # Test plasmoids
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)