diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb563a4..7d2112b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,7 @@ jobs: ln -s /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/longintrepr.h /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 pip install -r requirements.txt CIBW_BEFORE_BUILD_LINUX: pip install -r requirements.txt + CIBW_REPAIR_WHEEL_COMMAND_MACOS: delocate-wheel --require-archs x86_64 -w {dest_dir} -v {wheel} CIBW_TEST_SKIP: "*-macosx_arm64" CIBW_TEST_REQUIRES: cython click>=8.0 numpy scipy pandas pysam>=0.22.0 networkx>=2.4 scikit-learn>=0.22 sortedcontainers lightgbm CIBW_TEST_COMMAND: dysgu test --verbose diff --git a/MANIFEST.in b/MANIFEST.in index 887d6a3..20c9dc3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -5,21 +5,18 @@ include dysgu/* include ci/* include scripts/* -include dysgu/htslib/*.so -include dysgu/htslib/*.dylib +include dysgu/htslib/*.o +include dysgu/htslib/*.c +include dysgu/htslib/*.h +include dysgu/htslib/htslib/*.h +include dysgu/htslib/cram/*.c +include dysgu/htslib/cram/*.h +graft dysgu/htslib/os +graft dysgu/htslib/m4 +graft dysgu/htslib/htscodecs/htscodecs +graft dysgu/htslib/htscodecs/m4 -#include dysgu/htslib/*.o -#include dysgu/htslib/*.c -#include dysgu/htslib/*.h -#include dysgu/htslib/htslib/*.h -#include dysgu/htslib/cram/*.c -#include dysgu/htslib/cram/*.h -#graft dysgu/htslib/os -#graft dysgu/htslib/m4 -#graft dysgu/htslib/htscodecs/htscodecs -#graft dysgu/htslib/htscodecs/m4 - -#prune dysgu/htslib/test -#prune dysgu/htslib/htscodecs/test -#exclude dysgu/htslib/.* -#exclude dysgu/scikitbio/.* \ No newline at end of file +prune dysgu/htslib/test +prune dysgu/htslib/htscodecs/test +exclude dysgu/htslib/.* +exclude dysgu/scikitbio/.* \ No newline at end of file