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
--- /dev/null
+/* empty config.h created by pysam */
+/* conservative compilation options */
Release notes
=============
+Release 0.12.0.1
+================
+
+Bugfix release to solve compilation issue due to missinge
+bcftools/config.h file.
+
Release 0.12.0
==============
* [#496] upgrade to htslib/samtools/bcftools versions 1.5
* add start/stop to AlignmentFile.fetch() to be consistent with
VariantFile.fetch(). "end" is kept for backwards compatibility.
+* [#512] add get_index_statistics() method to AlignmentFile.
Upcoming changes:
# pysam versioning information
-__version__ = "0.12"
+__version__ = "0.12.0.1"
# TODO: upgrade number
__samtools_version__ = "1.5"
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
package_dirs = {'pysam': 'pysam',
'pysam.include.samtools': 'samtools',
'pysam.include.bcftools': 'bcftools'}
-config_headers = ["samtools/config.h"]
+
+# list of config files that will be automatically generated should
+# they not already exist or be created by configure scripts in the
+# subpackages.
+config_headers = ["samtools/config.h",
+ "bcftools/config.h"]
from cy_build import CyExtension as Extension, cy_build_ext as build_ext