I couldn't get any of the workarounds in #6294 to work, 
`collect_submodules("conversionAlgos")` returned an empty list even if the 
package directory was in sys.path, but running `collect_submodules` in a 
hook worked. Thanks!

On Friday, August 9, 2024 at 3:52:42 AM UTC-7 bwoodsend wrote:

pkgutil.iter_modules() doesn’t require Python files on the file system. The 
problem is that PyInstaller doesn’t know to collect these submodules at 
all. Use --collect-submodules=conversionAlgos to fix that although you 
almost certainly will run into #6294 
<https://github.com/pyinstaller/pyinstaller/issues/6294> so you’ll have to 
use one of the workarounds from there.
​

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/69e19eb1-29d3-484d-a46e-7f13c4c9b7a5n%40googlegroups.com.

Reply via email to