Skip to content

Conversation

@Hilali4886
Copy link
Contributor

Fix for pyinstaller4.4 need to use recursive=True

Fix for pyinstaller4.4 need to use recursive=True
@Hilali4886 Hilali4886 requested review from a team and Legorooj and removed request for a team August 1, 2021 15:20
Copy link
Member

@bwoodsend bwoodsend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, that recursive option is only available in PyInstaller 4.4 and later so it would have to be conditional to support both old and new versions of PyInstaller.

from PyInstaller.utils.hooks import is_module_satisfies:

if is_module_satisfies("pyinstaller >= 4.4"):
    datas = copy_metadata("azurem", recursive=True)
else:
    datas = copy_metadata("azurem")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants