From 08d8169bef335fc4eae26ebbeebcf72c0eea7b95 Mon Sep 17 00:00:00 2001 From: Duyi-Wang Date: Mon, 27 Nov 2023 14:09:59 +0800 Subject: [PATCH] [Distribute] Packing convert tools py code. (#84) --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6807ca99..aa477bc4 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,9 @@ def build_cmake(self): python_requires=">=3.8", package_dir={"": "src"}, packages=find_packages(where="src", include=["xfastertransformer"]), - package_data={"xfastertransformer": ["*.so"]}, + package_data={ + "xfastertransformer": ["*.so", "tools/*.*"], + }, platforms="x86_64", ext_modules=[CMakeExtension(name="xft")], cmdclass={"build_ext": BuildCMakeExt},