]>
Commit | Line | Data |
---|---|---|
d8ab67c7 | 1 | # -*- mode: python -*- |
d8046b94 | 2 | from kivy.tools.packaging.pyinstaller_hooks import get_deps_minimal, hookspath, runtime_hooks |
d8ab67c7 | 3 | |
d8046b94 IB |
4 | excluded_and_hidden_modules = get_deps_minimal(video=None, camera=None, audio=None, clipboard=None, spelling=None) |
5 | excluded_and_hidden_modules['hiddenimports'] += [ 'six', 'packaging', 'packaging.version', 'packaging.specifiers', 'packaging.requirements'] | |
d8ab67c7 | 6 | |
532454eb | 7 | a = Analysis(['music_sampler.py'], |
d8ab67c7 | 8 | binaries=None, |
9de92b6d | 9 | datas=[ |
bb69f62e IB |
10 | ('fonts/*', 'fonts'), |
11 | ('musicsampler.kv', '.') | |
9de92b6d | 12 | ], |
d8046b94 IB |
13 | hookspath=hookspath(), |
14 | runtime_hooks=runtime_hooks(), | |
15 | **excluded_and_hidden_modules) | |
16 | pyz = PYZ(a.pure, a.zipped_data) | |
17 | exe = EXE(pyz, a.scripts, a.binaries, a.zipfiles, a.datas, name='music_sampler') |