create_venv:
	python -m venv ./venv

create_venv3:
	python3 -m venv ./venv

clean_venv:
	rm -R ./venv

install_all_requirements:
	pip install -r requirements-dev.txt
	pip install -r requirements.txt
	pip install -r requirements-exp.txt

build_fast_downward:
	cd thirdparties/fast-downward && python build.py || cd ../..

build_pygol:
	cd thirdparties/PyGol/Code && gcc -fPIC pygol.c -o pygol.o && gcc pygol.o -shared -o pygol.so || cd ../../..

build_metric_ff:
	cd thirdparties/metric-ff/v1.0 && make || cd ../../..

clean_metric_ff:
	cd thirdparties/metric-ff/v1.0 && make clean || cd ../../..

build_metric_ff2:
	cd thirdparties/metric-ff/v2.1 && make || cd ../../..

clean_metric_ff2:
	cd thirdparties/metric-ff/v2.1 && make clean || cd ../../..

build_planminer:
	cd thirdparties/PlanMiner && cmake . && make && cd ../../..

build_planminer_wsl:
	cd thirdparties/PlanMiner && wsl cmake . && wsl make && cd ../../..

cython :
	python setup.py build_ext --inplace

vcython :
	venv/Scripts/python setup.py build_ext --inplace

clean :
	python setup.py clean --all

test :
	python -m coverage erase
	python -m coverage run --source=./prolothar_ca -m unittest discover -p ./prolothar_tests -v
	python -m coverage xml -i
