Skip to content

Latest commit

 

History

History
113 lines (87 loc) · 2.34 KB

Installation_Ubuntu.md

File metadata and controls

113 lines (87 loc) · 2.34 KB

#Installation de pySéquence sous Ubuntu testé avec Ubuntu 14.04LT

##Python 2.7## déja installé ##wxPython 3## source : http://wiki.wxpython.org/CheckInstall ####Checkinstall####

sudo apt-get install checkinstall

####Dépendances####

sudo apt-get install dpkg-dev build-essential swig python2.7-dev libwebkitgtk-dev libjpeg-dev libtiff-dev checkinstall ubuntu-restricted-extras freeglut3 freeglut3-dev libgtk2.0-dev  libsdl1.2-dev libgstreamer-plugins-base0.10-dev 

####Sources wxPython3.0####

wget http://downloads.sourceforge.net/wxpython/wxPython-src-3.0.2.0.tar.bz2
tar xvjf wxPython-src-3.0.2.0.tar.bz2
cd wxPython-src-3.0.2.0/
mkdir bld
cd wxPython/

####Compilation####

sudo checkinstall -y --pkgname=wxpython --pkgversion=3.0.2 --pkgrelease=1 --pkglicense=wxWidgets --pkgsource=http://www.wxpython.org/ [email protected] --requires=python-wxversion,python2.7,python -D  python build-wxpython.py --build_dir=../bld --install

####Test####

python
Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.version()
'3.0.2.0 gtk2 (classic)'

Si ça ne fonctionne pas, utiliser wxpython2.8 ...

##wxPython 2.8##

sudo apt-get install python-wxgtk2.8

pip

Outil d'installation de modules python

Installation : https://pip.pypa.io/en/stable/installing/

##xlrd/xlwt## Modules de lecture/écriture de fichier Excel

source : https://pypi.python.org/pypi/xlrd

sudo pip install xlrd

source : https://pypi.python.org/pypi/xlwt

sudo pip install xlwt

##pyPdf2## source : https://pypi.python.org/pypi/PyPDF2/1.25.1

sudo pip install pypdf2

##pyperclip## Utilisation du clipboard (presse-papier)

source : https://pypi.python.org/pypi/pyperclip

sudo pip install pyperclip

##enchant## Correcteur orthographique

source : https://pypi.python.org/pypi/pyenchant/

sudo pip install pyenchant

##xhtml2pdf## Convertion html>pdf

source : https://pypi.python.org/pypi/xhtml2pdf

sudo pip install xhtml2pdf

##markdown## Générateur de texte Markdown

source : https://pypi.python.org/pypi/Markdown

sudo pip install markdown

##pySéquence## Télécharger une archive des sources de pySéquence :