diff options
author | Kefu Chai <kchai@redhat.com> | 2018-08-09 04:17:32 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2018-08-09 11:55:24 +0200 |
commit | ee86364f9aa39bff527cc5b46307c7bd68840311 (patch) | |
tree | e0a1ba3fc39491f4a3c9da59f4e929742362293c /cmake | |
parent | tools/cephfs: add setup.py for cephfs-shell (diff) | |
download | ceph-ee86364f9aa39bff527cc5b46307c7bd68840311.tar.xz ceph-ee86364f9aa39bff527cc5b46307c7bd68840311.zip |
cmake: install script and egg-info files of cephfs-shell
egg-info offers requires.txt, which is parsed by dh_python3 to prepare
the dependencies for the cephfs-shell packaging. also, the meta-info
in the .egg allows user to use eggs if they wish. see
https://wiki.debian.org/Python/FAQ#How_should_we_package_Python_eggs.3F
.
Fixes: http://tracker.ceph.com/issues/26852
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/Distutils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/Distutils.cmake b/cmake/modules/Distutils.cmake index d6e9f3817c3..672b56385e9 100644 --- a/cmake/modules/Distutils.cmake +++ b/cmake/modules/Distutils.cmake @@ -27,7 +27,7 @@ function(distutils_install_module name) endif() execute_process( COMMAND ${PYTHON${PYTHON_VERSION}_EXECUTABLE} - setup.py install \${options} + setup.py install \${options} --single-version-externally-managed WORKING_DIRECTORY \"${CMAKE_CURRENT_BINARY_DIR}\")") endfunction(distutils_install_module) |