python

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
python [2008/10/31 18:07] gerardpython [2017/08/25 09:56] (Version actuelle) – modification externe 127.0.0.1
Ligne 45: Ligne 45:
  
 ====== numpy-1.0.4 ====== ====== numpy-1.0.4 ======
 +
  
 ===== Installation avec Python 2.4 ===== ===== Installation avec Python 2.4 =====
Ligne 65: Ligne 66:
  
 </code> </code>
-remove numpy/distutils/fcompiler/sun.py f77compact from the optionlist, et enfin:+remove numpy/distutils/fcompiler/sun.py f77compact from the optionlist 
 +<code> 
 +> diff -u numpy/distutils/fcompiler/sun.py-dist numpy/distutils/fcompiler/sun.py  
 +--- numpy/distutils/fcompiler/sun.py-dist       Tue Oct 28 12:21:48 2008 
 ++++ numpy/distutils/fcompiler/sun.py    Thu Nov  6 18:22:50 2008 
 +@@ -38,7 +38,7 @@ 
 +         return ['-xtarget=generic'
 +     def get_libraries(self): 
 +         opt = [] 
 +-        opt.extend(['fsu','sunmath','mvec','f77compat']) 
 ++        opt.extend(['fsu','sunmath','mvec']) 
 +         return opt 
 +  
 + if __name__ == '__main__': 
 +</code> 
 +, et enfin:
 <code> <code>
 > python setup.py install --prefix=$HOME/lib | & tee INSTALL.LOG > python setup.py install --prefix=$HOME/lib | & tee INSTALL.LOG
Ligne 128: Ligne 144:
 /opt/csw/bin/python -c 'import numpy; numpy.test()' /opt/csw/bin/python -c 'import numpy; numpy.test()'
 </code> </code>
 +
  
 ===== Installation avec python 2.5.2 ===== ===== Installation avec python 2.5.2 =====
Ligne 135: Ligne 152:
 > setenv PATH /local/apps/lib/bin:/opt/SUNWhpc/bin:/opt/studio12/SUNWspro/bin:/usr/local/wrapper/bin:/usr/bin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin > setenv PATH /local/apps/lib/bin:/opt/SUNWhpc/bin:/opt/studio12/SUNWspro/bin:/usr/local/wrapper/bin:/usr/bin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin
 > python setup.py install --prefix=$HOME/lib | & tee INSTALL.LOG > python setup.py install --prefix=$HOME/lib | & tee INSTALL.LOG
 +</code>
  
  
 ====== scipy ====== ====== scipy ======
 +
 +
 +
 +===== version 0.6.0 =====
 +
 +<code>
 +> setenv PYTHONPATH /local/apps/lib/python2.4/site-packages/
 +> mkdir -p scipy/distutils/fcompiler/
 +> cp ../numpy-1.2.1/numpy/distutils/fcompiler/sun.py scipy/distutils/fcompiler/
 +> setenv LDFLAGS "-lCrun -lCstd"
 +> setenv LAPACK /opt/SUNWspro/lib/libsunmath.so
 +> setenv BLAS /opt/SUNWspro/lib/libsunperf.so
 +> cp -rp scipy/sparse/sparsetools/sparsetools.h scipy/sparse/sparsetools/sparsetools.h-dist
 +> diff -u scipy/sparse/sparsetools/sparsetools.h-dist scipy/sparse/sparsetools/sparsetools.h
 +--- scipy/sparse/sparsetools/sparsetools.h-dist Sat Sep 22 09:55:25 2007
 ++++ scipy/sparse/sparsetools/sparsetools.h      Fri Nov  7 08:47:39 2008
 +@@ -22,8 +22,8 @@
 +
 + #include <vector>
 + #include <algorithm>
 ++#include <functional>
 +
 +-
 + /*
 +  * Extract main diagonal of CSR matrix A
 +  *
 +</code>
 +  * [[http://blogs.sun.com/yongsun/entry/build_scipy_0_6_0|build scipy-0.6.0 on Solaris with SunStudio 12]]
  
 ===== Installation avec python 2.4 ===== ===== Installation avec python 2.4 =====
Ligne 184: Ligne 230:
            
 </code> </code>
 +
 ===== Installation avec python 2.5.1 ===== ===== Installation avec python 2.5.1 =====
  
Ligne 234: Ligne 281:
 python setup.py install --prefix=$HOME | & tee INSTALL.LOG python setup.py install --prefix=$HOME | & tee INSTALL.LOG
 </code> </code>
 +
  
  
Ligne 241: Ligne 289:
 > pwd > pwd
 /local/apps/src/pygraphviz-0.37 /local/apps/src/pygraphviz-0.37
- +bash-3.00$ export PYTHONPATH=/local/apps/lib/python2.4/site-packages 
-graphviz-2.20.3 will be compiled with the following: +bash-3.00$ export PATH=/opt/csw/graphviz2/bin:$PATH 
- +bash-3.00$ python setup.py install --prefix=$HOME | tee INSTALL.LOG 
-options: +Package libagraph was not found in the pkg-config search path. 
-  cgraph:        Yes +Perhaps you should add the directory containing `libagraph.pc' 
-  digcola:       Yes +to the PKG_CONFIG_PATH environment variable 
-  ipsepcola:     No (disabled by default C++ portability issues) +No package 'libagraph' found 
-  sfdp:          No (disabled by default experimental) +Package libagraph was not found in the pkg-config search path. 
-  codegens     Yes +Perhaps you should add the directory containing `libagraph.pc' 
-  fontconfig:    Yes +to the PKG_CONFIG_PATH environment variable 
-  freetype:      Yes +No package 'libagraph' found 
- +Trying pkg-config 
-commands: +Trying dotneato-config 
-  dot:           Yes (always enabled) +library_path=/opt/csw/graphviz2/lib/graphviz 
-  neato:         Yes (always enabled) +include_path=/opt/csw/graphviz2/include/graphviz 
-  fdp:           Yes (always enabled) +running install 
-  circo:         Yes (always enabled) +running build 
-  twopi:         Yes (always enabled) +running build_py 
-  lefty:         Yes (always enabled) +...
-  gvpr:          Yes (always enabled) +
-  smyrna:        No (disabled by default experimental) +
- +
-plugin libraries: +
-  dot_layout:    Yes (always enabled) +
-  neato_layout:  Yes (always enabled) +
-  core:          Yes (always enabled) +
-  devil:         No (missing library) +
-  gd:            Yes +
-  gdiplus:       No (disabled by default Windows only) +
-  gdk_pixbuf:    Yes +
-  glitz:         No (disabled by default incomplete) +
-  gtk:           No (gtk library not available) +
-  pangocairo:    No (pangocairo library not available) +
-  ming:          No (disabled by default incomplete) +
-  quartz:        No (disabled by default - Mac only) +
-  rsvg:          Yes +
-  xlib:          Yes +
- +
-language extensions: +
-  gv_sharp:      No (swig not available) +
-  gv_guile:      No (swig not available) +
-  gv_io:         No (disabled by default no swig support yet) +
-  gv_java:       No (swig not available) +
-  gv_lua:        No (swig not available) +
-  gv_ocaml:      No (swig not available) +
-  gv_perl:       No (swig not available) +
-  gv_php:        No (swig not available) +
-  gv_python:     No (swig not available) +
-  gv_python23:   No (disabled by default for multiversion installs) +
-  gv_python24:   No (disabled by default for multiversion installs) +
-  gv_python25:   No (disabled by default - for multiversion installs) +
-  gv_R:          No (swig not available) +
-  gv_ruby:       No (swig not available) +
-  gv_tcl:        No (tcl not available) +
- +
-  tcldot:        No (tcl not available) +
-  tclpathplan:   No (tcl not available) +
-  gctclft:       No (tcl not available) +
-  tkspline:      No (tk not available)+
  
 </code> </code>
  • python.1225472842.txt.gz
  • Dernière modification : 2017/08/25 09:55
  • (modification externe)