#!/usr/bin/make -f
export DH_VERBOSE = 1
export PYBUILD_NAME=pyensembl

# See d/tests/control for why the following tests are ignored:
export PYBUILD_TEST_ARGS=--ignore=test/test_download_cache.py --ignore=test/test_ensembl_gtf.py \
                         --ignore=test/test_gene_ids.py --ignore=test/test_gene_names.py \
                         --ignore=test/test_gene_objects.py --ignore=test/test_id_length.py \
                         --ignore=test/test_missing_genome_sources.py --ignore=test/test_mouse.py \
                         --ignore=test/test_search.py --ignore=test/test_sequence_data.py \
                         --ignore=test/test_serialization.py --ignore=test/test_transcript_ids.py \
                         --ignore=test/test_transcript_objects.py --ignore=test/test_ucsc_gtf.py \
                         --ignore=test/test_contigs.py --ignore=test/test_exon_id.py \
                         --ignore=test/test_exon_object.py --ignore=test/test_string_representation.py \
                         --ignore=test/test_timings.py --ignore=test/test_transcript_sequences.py \
                         --ignore=test/test_transcript_support_level.py

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean
	rm -f pyensembl.egg-info/SOURCES.txt pyensembl.egg-info/requires.txt

override_dh_install:
	dh_install
	find debian -name requirements.txt -delete
