cd ${SRC_DIR}
ls
cd src
python -m numpy.f2py -c -m calccomf calcCOM.f90
python -m numpy.f2py -c -m calcdistances calcdistances.f90
python -m numpy.f2py -c -m ipcorr ipcorr.f90
#f2py -c -m src/elradial src/elradial.f90
#f2py -c -m src/siteradial src/siteradial.f90

#ln -s ipcorr.*.so ipcorr.so
#ln -s calcdistances.*.so calcdistances.so
#ln -s calccomf.*.so calccomf.so

cp calccomf*.so ${PREFIX}/bin/.
cp calcdistances*.so ${PREFIX}/bin/.
cp ipcorr*.so ${PREFIX}/bin/.

cd ..

cp PyLAT.py ${PREFIX}/bin/.

cd ${SRC_DIR}
ls
cd src
python -m numpy.f2py -c -m calccomf calcCOM.f90
python -m numpy.f2py -c -m calcdistances calcdistances.f90
python -m numpy.f2py -c -m ipcorr ipcorr.f90
#f2py -c -m src/elradial src/elradial.f90
#f2py -c -m src/siteradial src/siteradial.f90

#ln -s ipcorr.*.so ipcorr.so
#ln -s calcdistances.*.so calcdistances.so
#ln -s calccomf.*.so calccomf.so

mkdir ${PREFIX}/bin/src

cp calccomf*.so ${PREFIX}/bin/src/.
cp calcdistances*.so ${PREFIX}/bin/src/.
cp ipcorr*.so ${PREFIX}/bin/src/.

cd ..

cp PyLAT.py ${PREFIX}/bin/.

Create a src dir containing shared libs
Create a src dir containing shared libs
