File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import sys
44from pathlib import Path
55import parso
6- from PyInstaller .utils .hooks import collect_data_files , collect_dynamic_libs
6+ from PyInstaller .utils .hooks import collect_data_files , collect_dynamic_libs , collect_all
77
88block_cipher = None
99
1010parso_grammar = (Path (parso .__file__ ).parent / 'python' ).glob ('grammar*' )
11+ casadi_datas , casadi_binaries , casadi_hiddenimports = collect_all ('casadi' )
1112
1213a = Analysis (
1314 ['run.py' ],
1415 pathex = ['.' ],
1516 binaries = [
16- * collect_dynamic_libs ( 'casadi' ) ,
17+ * casadi_binaries ,
1718 ],
1819 datas = [
1920 ('cq_editor/icons_res.py' , 'cq_editor' ),
2021 * [(str (p ), 'parso/python' ) for p in parso_grammar ],
2122 * collect_data_files ('debugpy' ),
23+ * casadi_datas ,
2224 ],
2325 hiddenimports = [
2426 'ipykernel.datapub' ,
2527 'pygments.styles.default' ,
2628 'qtconsole.client' ,
2729 'OCP' ,
30+ * casadi_hiddenimports ,
2831 ],
2932 hookspath = [],
3033 runtime_hooks = [
You can’t perform that action at this time.
0 commit comments