-
Notifications
You must be signed in to change notification settings - Fork 1
/
geigerlog.spec
70 lines (56 loc) · 2.16 KB
/
geigerlog.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# -*- mode: python -*-
"""
# NOTE for using packager like pyinstaller:
# matplotlib has an *rc file in which it wants to load TkAgg
# This can be modified if Tkinter is not needed
# otherwise get Tkinter and FileDalog as 'hidden-imports'
# from the file: /etc/matplotlibrc: (changes marked with ***)
#### CONFIGURATION BEGINS HERE
# The default backend; one of GTK GTKAgg GTKCairo GTK3Agg GTK3Cairo
# CocoaAgg MacOSX Qt4Agg Qt5Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG
# Template.
# You can also deploy your own backend outside of matplotlib by
# referring to the module name (which must be in the PYTHONPATH) as
# 'module://my_backend'.
#modified by ullix
#backend : TkAgg
*** backend : Qt4Agg
# If you are using the Qt4Agg backend, you can choose here
# to use the PyQt4 bindings or the newer PySide bindings to
# the underlying Qt4 toolkit.
#modified by ullix
#backend.qt4 : PyQt4 # PyQt4 | PySide
*** backend.qt4 : PyQt4 # PyQt4 | PySide
"""
block_cipher = None
#options = [ ('v', None, 'OPTION'), ('W ignore', None, 'OPTION') ]
options = [ ]
a = Analysis(['geigerlog'],
pathex=['/home/ullix/geigerlog'],
binaries=[],
datas=[('gres/*', 'gres'), ('data/*', 'data'), ('geigerlog.cfg', '.'), ('matplotlibrc', '.'), ('GeigerLog-Manual*', '.')],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=['wx', 'gtk+', 'Tkinter', 'gtk', 'gdk', 'gtk2', 'gtk3', 'cairo', 'wayland', 'xinerama', 'share', 'icons', 'atk', 'pango', 'pil', 'PIL'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
options,
exclude_binaries=True,
name='geigerlog',
debug=False,
strip=False,
upx=True,
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='geigerlog')