File: CMakeLists.txt

package info (click to toggle)
molequeue 0.9.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,924 kB
  • sloc: cpp: 22,039; python: 478; xml: 364; sh: 59; makefile: 14
file content (14 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
find_package(PythonInterp REQUIRED)

if(PYTHONINTERP_FOUND)
  execute_process(COMMAND ${PYTHON_EXECUTABLE} -c
    "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
    OUTPUT_VARIABLE PYTHON_PACKAGES_DIR
    OUTPUT_STRIP_TRAILING_WHITESPACE)

  install(FILES
    molequeue/__init__.py
    molequeue/client.py
    molequeue/utils.py
    DESTINATION "${PYTHON_PACKAGES_DIR}/molequeue")
endif()