3 echo "##########################################################################"
5 echo "##########################################################################"
8 mkdir -p $PRODUCT_INSTALL
12 ## editer customize.py Pour LApack : using Atlas, Pour Blas : Using gsl
13 # OP 29/03/2018 We create a build configuration file to set
14 # information about lapack preprequisite
16 echo "# Build configuration for numpy" >> site.cfg
19 echo "# Section ALL to set global information for lapack dependency" >> site.cfg
20 echo "[ALL]" >> site.cfg
21 echo "libraries = lapack,blas,cblas,lapacke,tmglib" >> site.cfg
22 echo "library_dirs = \$\{LAPACKHOME\}/lib" >> site.cfg
23 echo "include_dirs = \$\{LAPACKHOME\}/include" >> site.cfg
27 echo "*** setup.py build"
31 echo "ERROR on setup build"
36 NUMPY_INSTALL=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
37 mkdir -p ${NUMPY_INSTALL}
38 PYTHONPATH=${NUMPY_INSTALL}:${PYTHONPATH}
41 echo "*** setup.py install"
42 python setup.py install --prefix=${PRODUCT_INSTALL}
45 echo "ERROR on setup install"