Skip to content

Commit c057fc0

Browse files
HanSur94claude
andcommitted
fix: restore --no-build-isolation for Engine, add async-timeout
1. MATLAB Engine install needs --no-build-isolation because pip's build isolation tries to download setuptools from PyPI (no network). The venv already has setuptools from vendor/ upgrade step. 2. Added async-timeout — required by redis on Python < 3.11.3. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7b3e6fb commit c057fc0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

install.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,17 +248,17 @@ if %errorlevel% equ 0 (
248248
:: Use robocopy to copy MATLAB Engine source to a writable temp dir.
249249
:: robocopy exit codes: 0=no change, 1=files copied, 2+=extras/mismatch, 8+=error
250250
set "ENGINE_TEMP=%TEMP%\matlab_engine_build"
251-
if exist "!ENGINE_TEMP!" rd /s /q "!ENGINE_TEMP!" 2>nul
251+
if exist "!ENGINE_TEMP!" rd /s /q "!ENGINE_TEMP!" >nul 2>nul
252252
echo Copying MATLAB Engine source to writable temp directory...
253-
robocopy "!ENGINE_API_DIR!" "!ENGINE_TEMP!" /E /NJH /NJS /NFL /NDL /NC /NS /NP >nul 2>&1
253+
robocopy "!ENGINE_API_DIR!" "!ENGINE_TEMP!" /E /NJH /NJS /NFL /NDL /NC /NS /NP >nul 2>nul
254254
set "_RC=!errorlevel!"
255255
if !_RC! geq 8 (
256256
echo [WARNING] Could not copy MATLAB Engine source files (robocopy exit !_RC!^).
257257
echo Continuing with MCP server installation...
258258
goto :install_mcp
259259
)
260260
echo Building and installing MATLAB Engine API...
261-
pip install "!ENGINE_TEMP!" --quiet 2>&1
261+
pip install "!ENGINE_TEMP!" --no-build-isolation --quiet 2>&1
262262
if !errorlevel! neq 0 (
263263
echo.
264264
echo [WARNING] MATLAB Engine API installation failed.
6.09 KB
Binary file not shown.

0 commit comments

Comments
 (0)