Readme update

This commit is contained in:
Philippe Roy 2022-12-19 17:36:43 +01:00
parent 8d8c23b572
commit e9b21eda31

View File

@ -32,21 +32,21 @@ L'environnement de développement est basé sur : la plateforme de modélisation
(https://python.org ) et le moteur de jeu 3D UPBGE ( https://upbge.org ).
Les bibliothèques suivantes ne sont pas incluses par défaut dans l'environnement UPBGE :
- **pylint** : vérificateur du code Python
- **pyserial** : communication sur le port série
- **Pylint** : vérificateur du code Python
- **pySerial** : communication sur le port série
- **pyFirmata** : protocole Firmata (protocole générique de communication entre un logiciel et un microcontrôleur)
Il faut donc les installer localement (dans UPBGE), les étapes sont :
- **GNU/Linux** : La configuration ici présente est UPBGE installé sur ~ avec Python 3.9 :
- Aller dans le répertoire local de Python de UPBGE: $ cd ~/UPBGE-0.30-linux-x86_64/3.0/python/bin
- Installer le gestionnaire de paquet pip : $ ./python3.9 -m ensurepip --default-pip
- Installer pylint : $ ./pip install pylint -t ~/UPBGE-0.30-linux-x86_64/3.0/python/lib/python3.9/site-packages
- Installer serial : $ ./pip install pyserial -t ~/UPBGE-0.30-linux-x86_64/3.0/python/lib/python3.9/site-packages
- Installer Pylint : $ ./pip install pylint -t ~/UPBGE-0.30-linux-x86_64/3.0/python/lib/python3.9/site-packages
- Installer pySerial : $ ./pip install pyserial -t ~/UPBGE-0.30-linux-x86_64/3.0/python/lib/python3.9/site-packages
- Installer pyFirmata : $ ./pip install pyfirmata -t ~/UPBGE-0.30-linux-x86_64/3.0/python/lib/python3.9/site-packages
- **Windows** : La configuration ici présente est UPBGE installé sur le bureau utilisateur (philippe.roy) avec la distribution Anaconda installée :
- Avec Anaconda Navigator ouvrir un terminal Powershell
- Installer pylint : pip install pylint -t C:\Users\philippe.roy\Desktop\UPBGE-0.30-windows-x86_64\3.0\python\lib\site-packages
- Installer serial : pip install pyserial -t C:\Users\philippe.roy\Desktop\UPBGE-0.30-windows-x86_64\3.0\python\lib\site-packages
- Installer Pylint : pip install pylint -t C:\Users\philippe.roy\Desktop\UPBGE-0.30-windows-x86_64\3.0\python\lib\site-packages
- Installer pySerial : pip install pyserial -t C:\Users\philippe.roy\Desktop\UPBGE-0.30-windows-x86_64\3.0\python\lib\site-packages
- Installer pyFirmata : pip install pyfirmata -t C:\Users\philippe.roy\Desktop\UPBGE-0.30-windows-x86_64\3.0\python\lib\site-packages