1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-03 23:48:07 +03:00

Manually include VARC table module in pyinstaller modules

fontTools only imports this module with __import__, that’s why it’s not
automatically found.
This commit is contained in:
Guillaume Ayoub 2024-05-27 08:53:27 +02:00
parent b45b77b74a
commit 10b623c1d4

View File

@ -20,7 +20,7 @@ jobs:
- name: Install requirements
run: python -m pip install . pyinstaller
- name: Generate executable
run: python -m PyInstaller weasyprint/__main__.py -n weasyprint -F
run: python -m PyInstaller weasyprint/__main__.py -n weasyprint -F --hidden-import "fontTools.ttLib.tables.V_A_R_C_"
- name: Test executable
run: dist/weasyprint --info
- name: Store executable