blob: 1bce4d416f00775d5baa892cba74eb7ef41c5d0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
set(CEPH_DISK_VIRTUALENV ${CEPH_BUILD_VIRTUALENV}/ceph-disk-virtualenv)
add_custom_target(ceph-disk
COMMAND
${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh ${CEPH_DISK_VIRTUALENV} &&
${CEPH_DISK_VIRTUALENV}/bin/pip install --no-index --use-wheel --find-links=file:${CMAKE_SOURCE_DIR}/src/ceph-disk/wheelhouse -e .
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/ceph-disk
COMMENT "ceph-disk is being created")
add_dependencies(tests ceph-disk)
include(Distutils)
distutils_install_module(ceph_disk
INSTALL_SCRIPT ${CMAKE_INSTALL_FULL_SBINDIR})
|