Python wrapper with test for Legendre transform

This commit is contained in:
Dag Sverre Seljebotn 2015-04-22 13:18:43 +02:00
parent 351180baf4
commit 0a0cad34aa
11 changed files with 165 additions and 0 deletions

View file

@ -61,3 +61,10 @@ perftest: compile_all
genclean:
rm libsharp/sharp_legendre.c || exit 0
pytest:
rm python/libsharp/libsharp.so || exit 0
cd python && LIBSHARP_INCLUDE=$(INCDIR) LIBSHARP_LIB=$(LIBDIR) python setup.py build_ext --inplace
cd python && nosetests libsharp