pyinstaller-hooks-contrib icon indicating copy to clipboard operation
pyinstaller-hooks-contrib copied to clipboard

XNAT package

Open JSousa-UoL opened this issue 4 years ago • 1 comments

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.

JSousa-UoL avatar Jun 22 '21 16:06 JSousa-UoL

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).

bwoodsend avatar Jun 22 '21 18:06 bwoodsend