Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (26 sloc) 818 Bytes
clean:
find quantlib -name \*.so -exec rm {} \;
find quantlib -name \*.pyc -exec rm {} \;
find quantlib/time -name \*.cpp -exec rm {} \;
find quantlib/instruments -name \*.cpp -exec rm {} \;
find quantlib/processes -name \*.cpp -exec rm {} \;
find quantlib/pricingengines -name \*.cpp -exec rm {} \;
rm -rf quantlib/*.cpp
rm -rf build
rm -rf dist
docs:
make -C docs html
build:
python setup.py build_ext --inplace
install:
python setup.py install --record pyql_install.txt
tests-preload:
LD_PRELOAD=/opt/QuantLib-1.1/lib/libQuantLib.so nosetests -v quantlib/test
tests:
#nosetests -v quantlib/test
cd quantlib/test
python -m unittest discover
build_ex:
g++ -m32 -I/opt/local/include/ -I/opt/local/include/boost quantlib_test2.cpp \
-o test2 -L/opt/local/lib/ -lQuantLib
.PHONY: build docs