| 12345678910111213141516 |
- @echo off
- rem Guanlan module entry (P9 dual-mode). Module: app_ontology
- rem A) full package (install root present) -> call the unified installer;
- rem B) standalone module package -> bootstrap a private .venv for this module.
- set "HERE=%~dp0"
- if exist "%HERE%..\install.ps1" call "%HERE%..\install.bat" %*
- if exist "%HERE%..\install.ps1" exit /b %errorlevel%
- set "PY="
- where py >nul 2>nul && set "PY=py -3"
- if not defined PY where python >nul 2>nul && set "PY=python"
- if not defined PY (
- echo [X] Python 3 not found. Install Python 3.10+ first, then re-run.
- exit /b 2
- )
- %PY% "%HERE%..\app_common\app_common_guanlan\bootstrap.py" install --module app_ontology %*
- exit /b %errorlevel%
|