From 44bc8e06713ebf4341222009e1b08f3b4f8a2c8a Mon Sep 17 00:00:00 2001 From: luncliff Date: Thu, 16 Nov 2023 02:16:29 +0900 Subject: [PATCH] [coreml-tools] fix site-packages search --- ports/coreml-tools/portfile.cmake | 2 ++ ports/coreml-tools/vcpkg.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ports/coreml-tools/portfile.cmake b/ports/coreml-tools/portfile.cmake index 59124dcc..29e4d380 100644 --- a/ports/coreml-tools/portfile.cmake +++ b/ports/coreml-tools/portfile.cmake @@ -32,6 +32,8 @@ find_path(SITE_PACKAGES_DIR PATHS "${PYTHON_ROOT}/lib/python3.9/site-packages" "${PYTHON_ROOT}/lib/python3.10/site-packages" "${PYTHON_ROOT}/lib/python3.11/site-packages" + "${PYTHON_ROOT}/lib/python3.12/site-packages" + "${PYTHON_ROOT}/Lib/site-packages" REQUIRED ) message(STATUS " site-packages: ${SITE_PACKAGES_DIR}") diff --git a/ports/coreml-tools/vcpkg.json b/ports/coreml-tools/vcpkg.json index 9a26ca05..3b2c7a70 100644 --- a/ports/coreml-tools/vcpkg.json +++ b/ports/coreml-tools/vcpkg.json @@ -1,7 +1,7 @@ { "name": "coreml-tools", "version": "6.1", - "port-version": 2, + "port-version": 3, "description": "CPU INFOrmation library (x86/x86-64/ARM/ARM64, Linux/Windows/Android/macOS/iOS)", "homepage": "https://github.com/apple/coremltools", "license": "BSD-3-Clause",