Skip to content

Commit 0d535ad

Browse files
committed
Update spec file
1 parent d5b8ce4 commit 0d535ad

File tree

5 files changed

+49
-1
lines changed

5 files changed

+49
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ MANIFEST
3333
# Usually these files are written by a python script from a template
3434
# before PyInstaller builds the exe, so as to inject date/other infos into it.
3535
*.manifest
36-
*.spec
36+
3737

3838
# Installer logs
3939
pip-log.txt

acquisitionGUI.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
DEVICE = ''
2323
folder = ''
2424

25+
2526
# Callback function to update the output
2627
def update_output(text):
2728
window['-OUTPUT-'].print(text)
2829

30+
2931
# Thread function that will occur in the background to extract the data
3032
def extract_thread():
3133
DATA = []

acquisitionGUI.spec

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
block_cipher = None
5+
6+
7+
a = Analysis(
8+
['acquisitionGUI.py'],
9+
pathex=[],
10+
binaries=[],
11+
datas=[],
12+
hiddenimports=[],
13+
hookspath=[],
14+
hooksconfig={},
15+
runtime_hooks=[],
16+
excludes=[],
17+
win_no_prefer_redirects=False,
18+
win_private_assemblies=False,
19+
cipher=block_cipher,
20+
noarchive=False,
21+
)
22+
a.datas += [('labcif.png','./img/labcif.png','DATA')]
23+
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
24+
25+
exe = EXE(
26+
pyz,
27+
a.scripts,
28+
a.binaries,
29+
a.zipfiles,
30+
a.datas,
31+
[],
32+
name='acquisitionGUI',
33+
debug=False,
34+
bootloader_ignore_signals=False,
35+
strip=False,
36+
upx=True,
37+
upx_exclude=[],
38+
runtime_tmpdir=None,
39+
console=False,
40+
disable_windowed_traceback=False,
41+
argv_emulation=False,
42+
target_arch=None,
43+
codesign_identity=None,
44+
entitlements_file=None,
45+
icon='./img/labcif.ico'
46+
)

img/labcif.ico

105 KB
Binary file not shown.

img/labcif.png

4.6 KB
Loading

0 commit comments

Comments
 (0)