====== matplotlib ======
* [[http://blogs.sun.com/yongsun/entry/build_matplotlib_0_98_3]]
* répertoire /local/apps/src/matplotlib-0.98.3
source /opt/jdsbld/bin/env.csh
setenv PYTHONPATH /local/apps/lib/python2.4/site-packages
cp -rp setupext.py setupext.py-dist
cd src
cp -rp _backend_gdk.c _backend_gdk.c-dist
setenv CC $CXX
python setup.py build | & tee BUILD.LOG
python setup.py install --prefix=$HOME | & tee INSTALL.LOG
===== Utilisation =====
Se connecter sur nemo, puis:
setenv PYTHONPATH /local/apps/lib/python2.4/site-packages
python
Python 2.4.4 (#1, Jan 9 2007, 23:31:33) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.ylabel('some numbers')
plt.show()