Skip to content

Instantly share code, notes, and snippets.

@piroux
Created December 4, 2010 15:27
Show Gist options
  • Save piroux/728251 to your computer and use it in GitHub Desktop.
Save piroux/728251 to your computer and use it in GitHub Desktop.
#!/bin/sh
sudo apt-get install -y python2.6 python-virtualenv
sudo apt-get install -y libamd2.2.0 libblas3gf libc6 libgcc1 libgfortran3 liblapack3gf libumfpack5.4.0 libstdc++6 build-essential gfortran libatlas-sse2-dev python-all-dev
python2.6 virtualenv --no-site-package --distribute scilab
cd ./scilab
source ./bin/activate
pip install numpy
pip install scipy
pip install ipython
pip install http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz
cd ./lib/python2.6
touch pilipili
%ln -s /usr/lib/pymodules/python2.6/paquet paquet
#Cela marche aussi bien avec des fichiers que des dossiers. Il est nécessaire de le faire pour gtk, glib, gobject, gio, #atk.so, pango.so, pangocairo.so, que l'on trouvera dans /usr/lib/pymodules/python2.6/gtk-2.0, et enfin cairo et pygtk.
#TOFIX : pylab : gtk, gdk --> ok après réinstallation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment