Commit d7d84f8
fix: pack plain .so/.dylib files as resources, not code
Resource packer was excluding all .so files, including ctypes libraries
like libpdfium.so that aren't Python extensions. Now only files matching
tagged EXTENSION_SUFFIXES (containing 'cpython' or 'abi3') are excluded.
Plain .so/.dylib files are packed as resources.
Fixes pypdfium2 on Linux where libpdfium.so was missing from the bundle.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent bbfa648 commit d7d84f8
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
773 | | - | |
774 | | - | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
775 | 777 | | |
776 | 778 | | |
777 | 779 | | |
| |||
864 | 866 | | |
865 | 867 | | |
866 | 868 | | |
| 869 | + | |
| 870 | + | |
867 | 871 | | |
868 | 872 | | |
869 | 873 | | |
| |||
0 commit comments