Fix build Nuitka : retirer --nofollow-import-to qui excluait les modules

Les flags --nofollow-import-to excluent complètement les modules du bundle
au lieu de juste sauter leur compilation C. pdfplumber, fitz, PIL etc.
étaient absents de l'exe. Augmente aussi le timeout à 120min.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-17 17:44:45 +01:00
parent 67042bc3f1
commit 801a71a6b4
2 changed files with 4 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ on:
jobs:
build-windows:
runs-on: windows-latest
timeout-minutes: 60
timeout-minutes: 120
steps:
- name: Checkout
@@ -50,18 +50,6 @@ jobs:
--include-module=eds_pseudo_manager `
--include-data-dir=config=config `
--include-data-dir=models=models `
--nofollow-import-to=onnxruntime `
--nofollow-import-to=numpy `
--nofollow-import-to=transformers `
--nofollow-import-to=optimum `
--nofollow-import-to=tokenizers `
--nofollow-import-to=sentencepiece `
--nofollow-import-to=torch `
--nofollow-import-to=PIL `
--nofollow-import-to=pdfplumber `
--nofollow-import-to=pdfminer `
--nofollow-import-to=fitz `
--nofollow-import-to=yaml `
--windows-console-mode=disable `
--output-dir=build `
--company-name="Hopital" `