]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/commitdiff
Add dir in music_sampler.spec
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 16 Jul 2016 16:01:07 +0000 (18:01 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 16 Jul 2016 16:01:07 +0000 (18:01 +0200)
music_sampler.spec

index 7a885fd5ac837da5b90142debaf6531057214610..8ce1db32b1701cfeaee4342be74e82441f20fc4e 100644 (file)
@@ -21,4 +21,10 @@ a = Analysis(['music_sampler.py'],
              runtime_hooks=runtime_hooks(),
              **excluded_and_hidden_modules)
 pyz = PYZ(a.pure, a.zipped_data)
+
+# Single file
 exe = EXE(pyz, a.scripts, a.binaries, a.zipfiles, a.datas, name='music_sampler')
+
+# Directory
+exe = EXE(pyz, a.scripts, exclude_binaries=True, name='music_sampler_dir', debug=False, strip=False, upx=True, console=True )
+coll = COLLECT(exe, a.binaries, a.zipfiles, a.datas, strip=False, upx=True, name='music_sampler_dir')