From c6b17f9dad333585c515a99a0e5a4770d7b448a9 Mon Sep 17 00:00:00 2001 From: Andy Linfoot <78757007+andy-neuma@users.noreply.github.com> Date: Tue, 27 Jun 2023 10:50:50 -0400 Subject: [PATCH] include dylib in search for package contents (#1096) Co-authored-by: andy --- MANIFEST.in | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index aa6e2a0aad9..d30f2509728 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,3 +3,4 @@ include utils/artifacts.py include src/deepsparse/transformers/haystack/haystack_reqs.txt recursive-include src/deepsparse/avx2 * recursive-include src/deepsparse/avx512 * +recursive-include src/deepsparse/neon * diff --git a/setup.py b/setup.py index 0ac1f343e2f..fb4bdcd9109 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ os.remove(license_nm_path) # File regexes for binaries to include in package_data -binary_regexes = ["*/*.so", "*/*.so.*", "*.bin", "*/*.bin"] +binary_regexes = ["*/*.so", "*/*.so.*", "*.bin", "*/*.bin", "*/*.dylib"] # regexes for things to include as license files in the .dist-info # see https://github.com/pypa/setuptools/blob/v65.6.0/docs/references/keywords.rst