Replies: 2 comments 5 replies
-
What kind of thoughts are you looking for? Do we need to do something on uvicorn for that? |
Beta Was this translation helpful? Give feedback.
1 reply
-
would it work better if uvicorn used |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see uvicorn uses
importer.py
so that PyInstaller can't correctly freeze this lib by default.PyInstaller has a
hook
feature to fix this kind of issue.I think all we need to do is
hook-uvicorn.py
The
collect_submodules('uvicorn')
basically means import everything in uvicorn.FYI:
Any thoughts?
PR have been merged. pyinstaller/pyinstaller-hooks-contrib#300
It will work by default after a release.
Beta Was this translation helpful? Give feedback.
All reactions