How to add packages into .exe file using py2exe?
I have an app with two packages..
My setup.py is like this:
sys.argv.append('py2exe')
setup(
options = {'py2exe': {'bundle_files': 1}},
windows = [{'script': "SoundLog.py"}],
zipfile = None,
)
After 开发者_运维知识库creating the .exe I have to put the packages in the same folder as the .exe file.
How can I include them in the .exe?
Thanks in advance!
I was searching for .py files in a folder to see how many there were in the code. That was why I needed that folder!
The code that I presented in the question is correct!
精彩评论