Download python/CMakeLists.txt from OpenPeerAI/DockingAtHOME: direct link, hf CLI and curl.
- Browser
- Download file 646 Bytes
-
https://huggingface.co/OpenPeerAI/DockingAtHOME/resolve/main/python/CMakeLists.txt
- Command line
-
hf download hf://OpenPeerAI/DockingAtHOME/python/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/OpenPeerAI/DockingAtHOME/resolve/main/python/CMakeLists.txt
646 Bytes
| # 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() | |