Skip to content

Commit 58f250c

Browse files
andy-neumaandy
and
andy
authored
include dylib in search for package contents (#1096)
Co-authored-by: andy <[email protected]>
1 parent fd0c914 commit 58f250c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ include utils/artifacts.py
33
include src/deepsparse/transformers/haystack/haystack_reqs.txt
44
recursive-include src/deepsparse/avx2 *
55
recursive-include src/deepsparse/avx512 *
6+
recursive-include src/deepsparse/neon *

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
os.remove(license_nm_path)
6565

6666
# File regexes for binaries to include in package_data
67-
binary_regexes = ["*/*.so", "*/*.so.*", "*.bin", "*/*.bin"]
67+
binary_regexes = ["*/*.so", "*/*.so.*", "*.bin", "*/*.bin", "*/*.dylib"]
6868

6969
# regexes for things to include as license files in the .dist-info
7070
# see https://github.com/pypa/setuptools/blob/v65.6.0/docs/references/keywords.rst

0 commit comments

Comments
 (0)