Fix python package install path in stubgen (#3009)

This commit is contained in:
Cheng
2026-01-19 09:34:02 +09:00
committed by GitHub
parent 9052f678b3
commit d96a2bdf57
+1
View File
@@ -37,6 +37,7 @@ if(MLX_BUILD_PYTHON_STUBS)
MODULE
"mlx.core"
PYTHON_PATH
"$<TARGET_FILE_DIR:core>/.."
"${CMAKE_CURRENT_SOURCE_DIR}/.."
PATTERN_FILE
"${CMAKE_CURRENT_SOURCE_DIR}/../mlx/_stub_patterns.txt"