How do I bundle edge-tts with PyInstaller? #384
Answered
by
zhanghelook
zhanghelook
asked this question in
Q&A
-
Hi community :) |
Beta Was this translation helpful? Give feedback.
Answered by
zhanghelook
Jun 2, 2025
Replies: 1 comment
-
This turned out pretty straightforward. I just needed to create a simple wrapper like this import edge_tts.__main__
if __name__ == "__main__":
edge_tts.__main__.main() then bundle it like
Don't use one file mode because it needs to unzip the content every time and make it very slow. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zhanghelook
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This turned out pretty straightforward. I just needed to create a simple wrapper like this
then bundle it like
Don't use one file mode because it needs to unzip the content every time and make it very slow.