diff options
author | Martin Peck <coder@peertech.org> | 2008-12-02 18:53:41 +0000 |
---|---|---|
committer | Martin Peck <coder@peertech.org> | 2008-12-02 18:53:41 +0000 |
commit | f960a021813ae4ca01a19bac48c6254f5862bf45 (patch) | |
tree | 56c18625d843e48152365523cacdd3f88a3586b3 | |
parent | a652dbb56a191f3ed215db318e5c603cce8aaeee (diff) |
Add additional options for single file py2exe builds.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17443 55e972cd-5a19-0410-ae62-a4d7a52db4cd
-rw-r--r-- | setup.py | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -123,6 +123,17 @@ extra_args = { } if 'py2exe' in sys.argv: # Tells the py2exe executable what module to actually execute. extra_args["console"] = ['lib/thandy/ClientCLI.py'] + # The following options tell py2exe to create a single exeutable file instead + # of a directory of dependencies or exe and zip library. + # Some additional modules are specified explicitly because the way they are + # loaded prevents py2exe from tracing the dependencies automagically. + extra_args["zipfile"] = None + extra_args["options"] = { + 'py2exe': { + 'bundle_files': 1, + 'includes': ["linecache", "getopt", "json"] + } + } setup(name='Thandy', version=VERSION, |