From 13fca0d621b7d7fe3bf41433f088b041993d5056 Mon Sep 17 00:00:00 2001 From: Andreas Heger <andreas.heger@gmail.com> Date: Wed, 6 Sep 2017 22:18:06 +0100 Subject: [PATCH] {AH} remove config.h from tar-ball --- MANIFEST.in | 8 ++++++++ run_tests_travis.sh | 2 ++ 2 files changed, 10 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index 3f2a9cbc..20b77773 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -15,12 +15,20 @@ include pysam/libc*.pyx include pysam/libc*.c include pysam/*.c include pysam/*.h + +# samtools include samtools/configure include samtools/config.mk.in include samtools/config.h.in include samtools/*.h exclude samtools/config.h include samtools/*/*.h + +# bcftools +include bcftools/*.h +exclude bcftools/config.h + +# htslib include htslib/*.c include htslib/*.h exclude htslib/config.h diff --git a/run_tests_travis.sh b/run_tests_travis.sh index 45c928ef..fa448575 100755 --- a/run_tests_travis.sh +++ b/run_tests_travis.sh @@ -85,6 +85,8 @@ echo "checking for presence of config.h files in tar-ball" tar -tvzf dist/pysam-*.tar.gz | grep "config.h$" if [ $? != 1 ]; then + echo "ERROR: found config.h in tar-ball" + tar -tvzf dist/pysam-*.tar.gz | grep "config.h%" exit 1 fi