mirror of
https://github.com/jdegenstein/jmwright-CQ-Editor.git
synced 2025-12-19 14:14:13 +01:00
Update pyinstaller_pip.spec -> fix missing js file from build123d
This commit is contained in:
@@ -10,6 +10,7 @@ spyder_data = Path(site.getsitepackages()[-1]) / 'spyder'
|
|||||||
parso_grammar = (Path(site.getsitepackages()[-1]) / 'parso/python').glob('grammar*')
|
parso_grammar = (Path(site.getsitepackages()[-1]) / 'parso/python').glob('grammar*')
|
||||||
cqw_path = Path(site.getsitepackages()[-1]) / 'cq_warehouse'
|
cqw_path = Path(site.getsitepackages()[-1]) / 'cq_warehouse'
|
||||||
bdw_path = Path(site.getsitepackages()[-1]) / 'bd_warehouse'
|
bdw_path = Path(site.getsitepackages()[-1]) / 'bd_warehouse'
|
||||||
|
b123d_path = Path(site.getsitepackages()[-1]) / 'build123d'
|
||||||
cq_path = Path(site.getsitepackages()[-1]) / 'cadquery'
|
cq_path = Path(site.getsitepackages()[-1]) / 'cadquery'
|
||||||
|
|
||||||
if sys.platform == 'linux':
|
if sys.platform == 'linux':
|
||||||
@@ -31,6 +32,7 @@ a = Analysis(['run.py'],
|
|||||||
datas=[(spyder_data, 'spyder'),
|
datas=[(spyder_data, 'spyder'),
|
||||||
(cqw_path, 'cq_warehouse'),
|
(cqw_path, 'cq_warehouse'),
|
||||||
(bdw_path, 'bd_warehouse'),
|
(bdw_path, 'bd_warehouse'),
|
||||||
|
(b123d_path, 'build123d'),
|
||||||
(cq_path, 'cadquery')] +
|
(cq_path, 'cadquery')] +
|
||||||
[(p, 'parso/python') for p in parso_grammar] + datas1,
|
[(p, 'parso/python') for p in parso_grammar] + datas1,
|
||||||
hiddenimports=['ipykernel.datapub', 'debugpy', 'vtkmodules', 'vtkmodules.all',
|
hiddenimports=['ipykernel.datapub', 'debugpy', 'vtkmodules', 'vtkmodules.all',
|
||||||
|
|||||||
Reference in New Issue
Block a user