Skip to content

Commit

Permalink
try to update htslib
Browse files Browse the repository at this point in the history
  • Loading branch information
brentp committed Aug 22, 2023
1 parent ea49bf4 commit 4e939e4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
cd htslib
autoheader && autoconf && autoreconf --install
./configure --enable-s3 --disable-lzma --disable-bz2
make
make version.h && make
cd ..
CYTHONIZE=1 python setup.py build_ext -i
- name: Test
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ include htslib/*.h
include htslib/htslib/*.h
include htslib/cram/*.c
include htslib/cram/*.h
include htslib/htscodecs/htscodecs/varint.h
2 changes: 1 addition & 1 deletion htslib
Submodule htslib updated 174 files
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cython>=0.23.3
cython>=0.23.3,<3.0.0
numpy
coloredlogs
click
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def no_cythonize(extensions, **_ignore):
if not any(e in x for e in ['irods', 'plugin'])
]
sources += glob.glob('htslib/cram/*.c')
sources += glob.glob('htslib/htscodecs/htscodecs/*.c')
sources += ['htslib/htscodecs/htscodecs/%s' % s for s in ['rle.c', 'arith_dynamic.c', 'pack.c', 'utils.c']]
# Exclude the htslib sources containing main()'s
sources = [x for x in sources if not x.endswith(('htsfile.c', 'tabix.c', 'bgzip.c'))]
sources.append('cyvcf2/helpers.c')
Expand Down

0 comments on commit 4e939e4

Please sign in to comment.