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:
parent
b45b77b74a
commit
10b623c1d4
2
.github/workflows/exe.yml
vendored
2
.github/workflows/exe.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user