Skip to content
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

[freeze][zipfile] Dependent packages and modules are not zipped to library.zip or packed to .exe bin #205

Open
ganshuyu opened this issue Mar 21, 2024 · 0 comments

Comments

@ganshuyu
Copy link

My freeze.py:

from py2exe import freeze

freeze(
console=["mytool.py"],
data_files=None,
zipfile='library.zip', # Or set None to it
options={},
version_info={}
)

No matter I set the zipfile to 'library.zip' or None, all dependent packages and modules are not zipped to library.zip or packed to mytool.exe bin. They scatter in "dist" folder with the mytool.exe. Is it expecting?

image

Thanks.

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

No branches or pull requests

1 participant