Skip to content

Commit 712d600

Browse files
committed
[Python] Fix python linux deploy missing shared library files (#892)
* debug python ci * trigger ci * add missing package files
1 parent 285cb4c commit 712d600

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

python/setup.py

+13-8
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ def parse_version():
105105
return match.group(1)
106106

107107

108+
_pkg_files = [
109+
"**/*.pxd",
110+
"**/*.pyx",
111+
"**/*.pxd",
112+
"*.so",
113+
"*.dylib",
114+
"*.dll",
115+
]
116+
117+
108118
setup(
109119
name="pyfury",
110120
version=parse_version(),
@@ -113,14 +123,9 @@ def parse_version():
113123
maintainer="https://github.com/chaokunyang",
114124
maintainer_email="[email protected]",
115125
package_data={
116-
"pyfury": [
117-
"**/*.pxd",
118-
"**/*.pyx",
119-
"includes/*.pxd",
120-
"**/*.so",
121-
"**/*.dylib",
122-
"**/*.dll",
123-
]
126+
"pyfury": _pkg_files,
127+
"pyfury.format": _pkg_files,
128+
"pyfury.lib.mmh3": _pkg_files,
124129
},
125130
include_package_data=True,
126131
packages=find_packages(),

0 commit comments

Comments
 (0)