From b3951077630d9f8188fe15fca899f75be41ff4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 20 Oct 2019 11:47:51 +0200 Subject: Add documentation for windows install --- documentation_fr.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'documentation_fr.md') diff --git a/documentation_fr.md b/documentation_fr.md index d7d2f2c..76a4b97 100644 --- a/documentation_fr.md +++ b/documentation_fr.md @@ -10,6 +10,8 @@ appui sur une touche. ## Pré-requis et installation +(Voir la section suivante pour Windows) + - Il faut avoir ffmpeg d'installé. Pour cela, il faut installer le paquet `libav-tools` (debian) : sudo apt-get install libav-tools @@ -47,6 +49,30 @@ Pour compiler kivy avec la librairie SDL2, il faut certains paquets installés: cf [Installation Kivy](https://kivy.org/docs/installation/installation-linux.html) +## Installation sous Windows + +Le processus suivant a permis d’installer music sampler sous windows: + +- [Installer python 3.7.\* (prendre la version 64bit!)](https://www.python.org/downloads/windows) +- Dans une invite de commande (`cmd.exe`), lancer: + + pip install music_sampler + pip install docutils pygments pypiwin32 PySDL2 kivy.deps.sdl2 kivy.deps.glew + +- [Télécharger ffmpeg (64bit, static)](https://ffmpeg.zeranoe.com/builds/) + et mettre le contenu du dossier `bin` dans le dossier avec les musiques +- [Télécharger la police Ubuntu](https://www.1001fonts.com/ubuntu-font.html) + et installer Ubuntu-R et Ubuntu-B (Regular et Bold) *pour tous les utilisateurs* (clic droit sur la police) +- [Télécharger la police Symbola](https://fontlibrary.org/en/font/symbola) + et l’installer *pour tous les utilisateurs* (clic droit sur la police) +- Écrire un fichier `run.bat` avec: + + :::bash + @echo off + music_sampler + +- Lancer `run.bat` pour démarrer le programme. + ## Version compilée Une version compilée peut être créée avec pyinstaller: -- cgit v1.2.3