Skip to content

Commit

Permalink
[Python] Fix python linux deploy missing shared library files (#892)
Browse files Browse the repository at this point in the history
* debug python ci

* trigger ci

* add  missing package files
  • Loading branch information
chaokunyang committed Aug 31, 2023
1 parent 285cb4c commit 712d600
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,16 @@ def parse_version():
return match.group(1)


_pkg_files = [
"**/*.pxd",
"**/*.pyx",
"**/*.pxd",
"*.so",
"*.dylib",
"*.dll",
]


setup(
name="pyfury",
version=parse_version(),
Expand All @@ -113,14 +123,9 @@ def parse_version():
maintainer="https://github.com/chaokunyang",
maintainer_email="[email protected]",
package_data={
"pyfury": [
"**/*.pxd",
"**/*.pyx",
"includes/*.pxd",
"**/*.so",
"**/*.dylib",
"**/*.dll",
]
"pyfury": _pkg_files,
"pyfury.format": _pkg_files,
"pyfury.lib.mmh3": _pkg_files,
},
include_package_data=True,
packages=find_packages(),
Expand Down

0 comments on commit 712d600

Please sign in to comment.