From 5c0c27a8d2efb9423e7d13896bb048052bc2e8be Mon Sep 17 00:00:00 2001 From: Kayvan Zahiri Date: Mon, 28 Sep 2026 09:24:12 -0700 Subject: [PATCH] whisper: only package mlx_whisper find_namespace_packages() with no include picks up a leftover build/ directory, so the mlx-whisper 0.4.3 wheel ships build/lib/... as a top-level namespace package. --- whisper/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisper/setup.py b/whisper/setup.py index 0cabd64b7..607fb1a09 100644 --- a/whisper/setup.py +++ b/whisper/setup.py @@ -26,7 +26,7 @@ url="https://github.com/ml-explore/mlx-examples", license="MIT", install_requires=requirements, - packages=find_namespace_packages(), + packages=find_namespace_packages(include=["mlx_whisper*"]), include_package_data=True, python_requires=">=3.8", entry_points={