File size: 646 Bytes
35aaa09 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# Python CMakeLists.txt
cmake_minimum_required(VERSION 3.18)
# Python package configuration
find_package(Python3 COMPONENTS Interpreter Development)
if(Python3_FOUND)
message(STATUS "Found Python: ${Python3_VERSION}")
# Install Python package
install(DIRECTORY ${CMAKE_SOURCE_DIR}/python/docking_at_home
DESTINATION ${Python3_SITELIB}
)
# Install scripts
install(PROGRAMS ${CMAKE_SOURCE_DIR}/python/docking_at_home/cli.py
DESTINATION bin
RENAME docking-at-home
)
else()
message(WARNING "Python3 not found. Python package will not be installed.")
endif()
|