21 lines
582 B
Batchfile
21 lines
582 B
Batchfile
@echo off
|
|
REM ================================================================
|
|
REM DOCU_BUILD - Bilder und Text aus Produktprogramm-PDFs extrahieren
|
|
REM ================================================================
|
|
|
|
call "%~dp0setenv.bat"
|
|
|
|
if not exist "%PROJECT%\.venv" (
|
|
echo FEHLER: Virtual environment nicht gefunden.
|
|
echo Bitte zuerst bin\install_py.bat ausfuehren.
|
|
exit /b 1
|
|
)
|
|
|
|
call "%PROJECT%\.venv\Scripts\activate.bat"
|
|
|
|
echo.
|
|
echo Extrahiere Bilder und Text aus Produktprogramm-PDFs ...
|
|
echo.
|
|
|
|
python "%PV_LIB%\extract_products.py" --data-dir "%PV_DATA%" %*
|