Skip to content

Commit 820c7b0

Browse files
committed
Remove manifest file inclusion from DataLab.spec and update build_exe.bat to copy manifest to executable root directory
1 parent 9f8a61d commit 820c7b0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

DataLab.spec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ datas = collect_data_files('datalab') + [('datalab\\plugins', 'datalab\\plugins'
99
datas += collect_data_files('guidata') + collect_data_files('plotpy')
1010
datas += collect_data_files('sigima')
1111
datas += copy_metadata('imageio')
12-
datas += [('manifest.json', '.')]
1312

1413
a = Analysis(
1514
['datalab\\start.pyw'],

scripts/build_exe.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ del "%RESPATH%\tmp-*.png"
5151
@REM Building executable
5252
%PYTHON% -m PyInstaller DataLab.spec --noconfirm --clean
5353

54+
@REM Copy manifest to executable root directory
55+
copy "manifest.json" "dist\DataLab\manifest.json" /Y
56+
5457
@REM Windows 7 SP1 compatibility fix
5558
copy "%RESPATH%\api-ms-win-core-path-l1-1-0.dll" "dist\DataLab\_internal" /Y
5659

0 commit comments

Comments
 (0)