pyinstaller / pyinstaller-hooks-contrib

Community maintained hooks for PyInstaller.
Other
94 stars 124 forks source link

XNAT package #132

Open JSousa-UoL opened 3 years ago

JSousa-UoL commented 3 years ago

Which library is the hook for?

xnat (https://xnat.readthedocs.io/en/latest/)

Have you gotten the library to work with pyinstaller?

Yes, but it needs several hidden imports. (Just '--hidden-import xnat' was enough)

Additional context

Add any other context here.

bwoodsend commented 3 years ago

If --hidden-import xnat is all you need then the problem isn't really xnat itself but whatever is importing it (which I'm guessing is DIPY looking at #133) in an undetectable way. So xnat shouldn't need a hook. Rather hiddenimports = ["xnat"] should go in a hook for that other package (which is probably DIPY).