kiwix-hotspot-linux.spec 1.15 KB
Newer Older
1
2
3
4
5
# -*- mode: python -*-

block_cipher = None


6
a = Analysis(['kiwix-hotspot/__main__.py'],
7
             pathex=['.'],
thiolliere's avatar
thiolliere committed
8
             binaries=[('qemu-system-arm', '.'), ('qemu-img', '.')],
thiolliere's avatar
thiolliere committed
9
             datas=[('ui.glade', '.'),
rgaudin's avatar
rgaudin committed
10
                    ('contents.json', '.'),
rgaudin's avatar
rgaudin committed
11
                    ('etcher.gif', '.'),
12
                    ('kiwix-hotspot-logo.png', '.'),
13
                    ('aria2c', '.'),
thiolliere's avatar
thiolliere committed
14
                    ('ansiblecube', 'ansiblecube'),
15
                    ('etcher-cli', 'etcher-cli'),
16
                    ('mbr.img', '.'),
17
                    ('vexpress-boot', 'vexpress-boot')],
18
             hiddenimports=['gui', 'cli', 'image', 'cache', 'wipe'],
thiolliere's avatar
thiolliere committed
19
             hookspath=['additional-hooks'],
20
21
22
23
24
25
26
27
28
             runtime_hooks=[],
             excludes=[],
             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,
thiolliere's avatar
thiolliere committed
29
30
31
          a.binaries,
          a.zipfiles,
          a.datas,
32
          name='kiwix-hotspot',
thiolliere's avatar
thiolliere committed
33
          debug=False,
34
35
          strip=False,
          upx=True,
thiolliere's avatar
thiolliere committed
36
          console=False)