Merge commit 'upstream/0.3.1'
[pysam.git] / setup.py
index 925f0166e5f7314b5091a9363aeaa4c2cfe21c75..ef3d29f47e1e92fb383320dad8947ecf42b8d933 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ import version
 
 version = version.__version__
 
-samtools_exclude = ( "bamtk.c", "razip.c", "bgzip.c" )
+samtools_exclude = ( "bamtk.c", "razip.c", "bgzip.c", "errmod.c", "bam_reheader.c", "bam2bcf.c" )
 samtools_dest = os.path.abspath( "samtools" )
 tabix_exclude = ( "main.c", )
 tabix_dest = os.path.abspath( "tabix" )
@@ -109,7 +109,8 @@ metadata = {
       "pysam/namedtuple",
       "pysam/version" ],
     'ext_modules': [samtools, tabix],
-    'cmdclass' : {'build_ext': build_ext} }
+    'cmdclass' : {'build_ext': build_ext},
+    }
 
 if __name__=='__main__':
    dist = setup(**metadata)