From 537071ec56b62616ef72e01dea43464db1518fa9 Mon Sep 17 00:00:00 2001 From: Etoh Date: Sat, 1 Jun 2013 20:00:47 +0200 Subject: [PATCH] Buildpy2exe: Remove unused includes & Add icon resources --- buildPy2exe.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildPy2exe.py b/buildPy2exe.py index 21dc5fe..c0a31ea 100644 --- a/buildPy2exe.py +++ b/buildPy2exe.py @@ -523,17 +523,18 @@ info = dict( options={'py2exe': { 'dist_dir': OUT_DIR, 'packages': 'PySide.QtUiTools', - 'includes': 'cairo, pango, pangocairo, atk, gobject, twisted, sys, encodings, datetime, os, time, math, PySide', + 'includes': 'twisted, sys, encodings, datetime, os, time, math, PySide', 'excludes': 'venv, _ssl, doctest, pdb, unittest, win32clipboard, win32event, win32file, win32pdh, win32security, win32trace, win32ui, winxpgui, win32pipe, win32process', 'dll_excludes': 'msvcr71.dll, MSVCP90.dll', 'optimize': 2, 'compressed': 1 } }, - data_files = [("resources", ["resources/icon.ico",])], + data_files = [("resources", ["resources/icon.ico","resources/syncplay.png","resources/accept.png","resources/folder_explore.png","resources/help.png"])], zipfile = "lib/libsync", cmdclass = {"py2exe": build_installer}, ) sys.argv.extend(['py2exe', '-p win32com ', '-i twisted.web.resource']) setup(**info) +