Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:hypathie:tutos:python-trucs-et-machins [28/12/2015 09:34] Hypathie [Installer Eric6 python] |
utilisateurs:hypathie:tutos:python-trucs-et-machins [29/12/2015 09:34] Hypathie [Installer Eric6 python] |
||
---|---|---|---|
Ligne 46: | Ligne 46: | ||
===== Installer Eric6 python===== | ===== Installer Eric6 python===== | ||
+ | <code text script_installEric6> | ||
+ | #!/bin/sh | ||
- | * D'abord on télécharge Eric6 : http://eric-ide.python-projects.org/eric-download.html | + | apt-get install mercurial build-essential qt5-default qtbase5-dev qttools5-dev-tools libqt5scintilla2-11 python3-pyqt5.qtwebkit python3-pyqt5.qtsvg python3-pyqt5.qtsql |
- | * Référence sur l'installation : https://github.com/davy39/eric | + | mkdir temp |
- | ====installation des dépendances==== | + | cd temp |
- | ===qt5=== | + | apt-get source python3-pyqt5.qsci |
- | <code root>apt-get update && apt-get install qt5-default</code> | + | cd qscintilla2-2.8.4+dfsg/Python/ |
- | * A voir pour installer l'IDE qtcreator : http://famedsolutions.com/index.php/2015/05/02/installing-qt5-on-debian-jessie/ | + | python3 configure.py --pyqt=PyQt5 \ #On indique qu'on souhaite utiliser pyqt5 |
+ | -q /usr/lib/x86_64-linux-gnu/qt5/bin/qmake \ #Chemin du compilateur qmake livré avec qt5 | ||
+ | -d /usr/lib/python3/dist-packages/PyQt5 # Chemin d'installation de PyQt5 | ||
- | ===qscintilla2=== | + | make |
- | <code root>apt-get install python-qscintilla2</code> | + | make install |
- | ===sip=== | + | cd ../.. |
- | <code root>apt-get install python-sip</code> | + | |
- | ===PyQt5=== | + | hg clone http://die-offenbachs.homelinux.org:48888/hg/eric |
- | * Voir : https://riverbankcomputing.com/software/pyqt/download5 | + | cd eric |
- | <code user>wget http://skylink.dl.sourceforge.net/project/pyqt/PyQt5/PyQt-5.5.1/PyQt-gpl-5.5.1.tar.gz</code> | + | python3 install.py |
- | + | </code> | |
- | <code user>tar xzvf PyQt-gpl-5.5.1.tar.gz -C ~</code> | + | |
- | + | ||
- | ====Installer Eric6 ==== | + | |
- | + | ||
- | * Pour obtenir la version 6 | + | |
- | + | ||
- | <code user>wget http://netix.dl.sourceforge.net/project/eric-ide/eric6/stable/6.1.0/eric6-6.1.0.tar.gz</code> | + | |
- | + | ||
- | + | ||
- | * On décompresse l'archive dans le répertoire courant | + | |
- | + | ||
- | <code user>tar xzvf eric6-6.1.0.tar.gz -C ~</code> | + | |
- | + | ||
- | + | ||
- | <code user>cd eric6-6.1.0/</code> | + | |
- | + | ||
- | <code user>chmod +x install.py</code> | + | |
- | + | ||
- | <code user>./install.py</code> | + | |
- | + | ||
- | <code user></code> | + | |
- | + | ||
- | <code user></code> | + | |
===== Utilisation ===== | ===== Utilisation ===== | ||