Tags: rokm/pyinstaller-hooks-contrib
Tags
Scheduled weekly dependency update for week 22 (pyinstaller#751)
hooks: add hook for backports namespace package Add hook for `backports` package, to accommodate the `pkgutil`-style `backports` namespace package provided by `backports.functools-lru-cache` and the latest release of `backports.tarfile`. The `__init__.py` file from this `backports` namespace package uses `__import('pkgutil')__`, which slips past PyInstaller's modulegraph analysis, hence we need a hidden import.
hooks: netCDF4: explicitly collect files from netCDF4.libs Use the `collect_delvewheel_libs_directory` helper to ensure that DLLs and load-order file (if present) are collected from `netCDF4.libs` directory. While contemporary PyInstaller versions automatically pick up DLLs from that directory thanks to dynamic DLL search path tracking, that does not work with Anaconda python 3.8 and 3.9, where, due to defunct `os.add_dll_directory` function, `delvewheel` needs to load DLLs via the load-order file.
PreviousNext