#!/usr/bin/make -f

export DH_VERBOSE = 1
export PYBUILD_NAME=varcode
export PYBUILD_BEFORE_TEST=cp -a {dir}/tests {build_dir}/
export PYBUILD_TEST_ARGS = \
	tests/test_string_helpers.py \
	tests/test_common.py \
	tests/test_mutate.py \
	tests/test_genotype.py \
	tests/test_vcf_parsing.py \
	tests/test_cli_without_pkg_resources.py \
	tests/test_effect_hypotheses.py \
	tests/test_exacto_fusions.py \
	tests/test_genomic_layout.py \
	tests/test_rna_haplotype_sequences.py \
	tests/test_splice_graph.py \
	tests/test_sv_tabular_metadata.py \
	tests/test_transcript_layout.py

%:
	dh $@ --buildsystem=pybuild

override_dh_install:
	dh_install
	mv $(CURDIR)/debian/python3-varcode/usr/bin $(CURDIR)/debian/varcode/usr/

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .pybuild
