aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--documentation_fr.md2
-rw-r--r--music_sampler.spec3
3 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index a313440..5e7aaa4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ dist/
3music_sampler/__pycache__/ 3music_sampler/__pycache__/
4__pycache__/ 4__pycache__/
5.pyinstaller_commit 5.pyinstaller_commit
6music_sampler.egg-info/
diff --git a/documentation_fr.md b/documentation_fr.md
index 377b69c..ccfcf9b 100644
--- a/documentation_fr.md
+++ b/documentation_fr.md
@@ -23,7 +23,7 @@ Si vous utilisez la version compilée de Music Sampler (cf. plus bas pour un lie
23| Kivy | 1.9.1 | | 23| Kivy | 1.9.1 | |
24| Markdown | 2.6.6 | pour la documentation uniquement | 24| Markdown | 2.6.6 | pour la documentation uniquement |
25| pydub | 0.16.4 | | 25| pydub | 0.16.4 | |
26| Pygame | 1.9.2pre | utilisée par Kivy | 26| Pygame | 1.9.2.dev1 | utilisée par Kivy |
27| Pygments | 2.1.3 | pour la documentation uniquement | 27| Pygments | 2.1.3 | pour la documentation uniquement |
28| sounddevice | 0.3.3 | | 28| sounddevice | 0.3.3 | |
29| transitions | 0.4.1 | | 29| transitions | 0.4.1 | |
diff --git a/music_sampler.spec b/music_sampler.spec
index 791cd68..5549b76 100644
--- a/music_sampler.spec
+++ b/music_sampler.spec
@@ -1,5 +1,6 @@
1# -*- mode: python -*- 1# -*- mode: python -*-
2import os 2import os
3import setuptools_scm
3from kivy.tools.packaging.pyinstaller_hooks import get_deps_minimal,\ 4from kivy.tools.packaging.pyinstaller_hooks import get_deps_minimal,\
4 hookspath, runtime_hooks 5 hookspath, runtime_hooks
5 6
@@ -22,7 +23,7 @@ excluded_and_hidden_modules['hiddenimports'] += [
22 'packaging.specifiers', 23 'packaging.specifiers',
23 'packaging.requirements' ] 24 'packaging.requirements' ]
24 25
25commit_message = os.popen('git log -1 --format="%h %ci"').read() 26commit_message = setuptools_scm.get_version()
26pyinstaller_file = open(".pyinstaller_commit", "w") 27pyinstaller_file = open(".pyinstaller_commit", "w")
27pyinstaller_file.write(commit_message) 28pyinstaller_file.write(commit_message)
28pyinstaller_file.close() 29pyinstaller_file.close()