aboutsummaryrefslogtreecommitdiff
path: root/music_sampler.spec
blob: a56c2dd0f051076f11b63c9a8e64b68a6594aa58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- mode: python -*-
from kivy.tools.packaging.pyinstaller_hooks import  get_deps_minimal, hookspath, runtime_hooks

excluded_and_hidden_modules = get_deps_minimal(video=None, camera=None, audio=None, clipboard=None, spelling=None)
excluded_and_hidden_modules['hiddenimports'] += [ 'six', 'packaging', 'packaging.version', 'packaging.specifiers', 'packaging.requirements']

a = Analysis(['music_sampler.py'],
             binaries=None,
             datas=[
              ('fonts/*', 'fonts'),
              ('musicsampler.kv', '.')
             ],
             hookspath=hookspath(),
             runtime_hooks=runtime_hooks(),
             **excluded_and_hidden_modules)
pyz = PYZ(a.pure, a.zipped_data)
exe = EXE(pyz, a.scripts, a.binaries, a.zipfiles, a.datas, name='music_sampler')