How to add packages into .exe file using py2exe?

Posted by aF on Stack Overflow See other posts from Stack Overflow or by aF
Published on 2010-05-02T11:56:21Z Indexed on 2010/05/02 12:08 UTC
Read the original article Hit count: 321

Filed under:
|

Hello, 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!

© Stack Overflow or respective owner

Related posts about python

Related posts about py2exe