]>
Commit | Line | Data |
---|---|---|
1 | # -*- mode: python -*- | |
2 | from kivy.tools.packaging.pyinstaller_hooks import get_deps_minimal, hookspath, runtime_hooks | |
3 | ||
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'] | |
6 | ||
7 | a = Analysis(['music_sampler.py'], | |
8 | binaries=None, | |
9 | datas=[ | |
10 | ('fonts/*', 'fonts'), | |
11 | ('musicsampler.kv', '.') | |
12 | ], | |
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') |