-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hook-aumbry.py #96
base: master
Are you sure you want to change the base?
Conversation
RDCH106
commented
Mar 8, 2021
- Add aumbry suppport:
- https://aumbry.readthedocs.io/en/latest/
The thrown error by Travis CI in Python 3.9 configuration probably is not related to the PR: https://travis-ci.org/github/pyinstaller/pyinstaller-hooks-contrib/builds/761933083 Same problem in GitHub Actions: https://github.com/pyinstaller/pyinstaller-hooks-contrib/actions/runs/632186914 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a news entry.
And yes, ignore CI. It's not testing your code. |
8003b05
to
df3371d
Compare
✅ Done! |
|
||
from PyInstaller.utils.hooks import collect_all | ||
|
||
datas, binaries, hiddenimports = collect_all('aumbry') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
collect_all()
is incredibly inefficient. Does it really need all of data files, binaries, hidden imports, metadata and dependencies? I see no data files or binaries in the aumbry package. The only thing I see in there is use of importlib which will require collect_submodules('aumbry')
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
I am not sure right now, I will check it again!
Thank you for your advice.