Added 'openvino_req_files' component for archives (#19174)

This commit is contained in:
Ilya Lavrenov
2023-08-14 16:58:08 +04:00
committed by GitHub
parent 87f9b2bdf8
commit 11610b2cc9
7 changed files with 16 additions and 5 deletions
@@ -124,15 +124,17 @@ if(OpenVINO_SOURCE_DIR OR OpenVINODeveloperPackage_FOUND)
COMPONENT ${OV_CPACK_COMP_PYTHON_OPENVINO}_${pyversion}
${OV_CPACK_COMP_PYTHON_OPENVINO_EXCLUDE_ALL})
ov_cpack_add_component(${OV_CPACK_COMP_OPENVINO_REQ_FILES} HIDDEN)
install(FILES ${OpenVINOPython_SOURCE_DIR}/requirements.txt
DESTINATION ${OV_CPACK_PYTHONDIR}
COMPONENT ${OV_CPACK_COMP_OPENVINO_DEV_REQ_FILES}
${OV_CPACK_COMP_OPENVINO_DEV_REQ_FILES_EXCLUDE_ALL})
COMPONENT ${OV_CPACK_COMP_OPENVINO_REQ_FILES}
${OV_CPACK_COMP_OPENVINO_REQ_FILES_EXCLUDE_ALL})
install(FILES ${OpenVINOPython_SOURCE_DIR}/src/openvino/preprocess/torchvision/requirements.txt
DESTINATION ${OV_CPACK_PYTHONDIR}
COMPONENT ${OV_CPACK_COMP_OPENVINO_DEV_REQ_FILES}/src/openvino/preprocess/torchvision
${OV_CPACK_COMP_OPENVINO_DEV_REQ_FILES_EXCLUDE_ALL})
DESTINATION ${OV_CPACK_PYTHONDIR}/openvino/preprocess/torchvision
COMPONENT ${OV_CPACK_COMP_OPENVINO_REQ_FILES}
${OV_CPACK_COMP_OPENVINO_REQ_FILES_EXCLUDE_ALL})
install(DIRECTORY ${OpenVINOPython_SOURCE_DIR}/tests
DESTINATION tests/${PROJECT_NAME}