Changeset a9316316aedd…
Parent b5444073d35d…
by
Changes to 3 files · Browse files at a9316316aedd Showing diff from parent b5444073d35d Diff from another changeset...
@@ -1,6 +1,5 @@ [py2exe]
-excludes=pywin, pywin.dialogs, pywin.dialogs.list
-includes=cairo, pango, pangocairo, atk, gobject, dbhash, gtk.keysyms, gio, sip
-packages=ctypes, email, hgext, hgext.convert, encodings, tortoisehg.hgtk, tortoisehg.hgtk.logview, tortoisehg.util, iniparse, pygments, dulwich, nntplib
-
-dll_excludes=iconv.dll, intl.dll, libatk-1.0-0.dll, libgdk_pixbuf-2.0-0.dll, libgdk-win32-2.0-0.dll, libglib-2.0-0.dll, libgmodule-2.0-0.dll, libgobject-2.0-0.dll, libgthread-2.0-0.dll, libgtk-win32-2.0-0.dll, libpango-1.0-0.dll, libpangowin32-1.0-0.dll, libcairo-2.dll, libglade-2.0-0.dll, libpangocairo-1.0-0.dll, libpangoft2-1.0-0.dll, libgio-2.0-0.dll, mswsock.dll, powrprof.dll, shfolder.dll, credui.dll, msvcp60.dll, secur32.dll
+excludes=pywin, pywin.dialogs, pywin.dialogs.list, PyQt4.uic.port_v3
+includes=sip
+packages=ctypes, email, hgext, hgext.convert, encodings, tortoisehg.util, tortoisehg.hgqt, iniparse, pygments, nntplib
+dll_excludes=mswsock.dll, powrprof.dll, shfolder.dll, credui.dll, msvcp60.dll, secur32.dll
|
@@ -91,9 +91,7 @@ # Specific definitios for Windows NT-alike installations
_scripts = []
_data_files = []
- _packages = ['tortoisehg.hgtk', 'tortoisehg.hgtk.logview',
- 'tortoisehg.hgqt',
- 'tortoisehg.util', 'tortoisehg']
+ _packages = ['tortoisehg.hgqt', 'tortoisehg.util', 'tortoisehg']
extra = {}
hgextmods = []
@@ -153,11 +151,6 @@ 'description':'Mercurial Distributed SCM',
'copyright':hgcopyright,
'product_version':version},
- {'script':'hgtk',
- 'icon_resources':[(0,'icons/thg_logo.ico')],
- 'description':'TortoiseHg GUI tools for Mercurial SCM',
- 'copyright':thgcopyright,
- 'product_version':version},
{'script':'thg',
'icon_resources':[(0,'icons/thg_logo.ico')],
'description':'TortoiseHg GUI tools for Mercurial SCM',
@@ -182,10 +175,8 @@def setup_posix():
# Specific definitios for Posix installations
_extra = {}
- _scripts = ['thg', 'hgtk']
- _packages = ['tortoisehg', 'tortoisehg.hgtk',
- 'tortoisehg.hgqt',
- 'tortoisehg.hgtk.logview', 'tortoisehg.util']
+ _scripts = ['thg']
+ _packages = ['tortoisehg', 'tortoisehg.hgqt', 'tortoisehg.util']
_data_files = [(os.path.join('share/pixmaps/tortoisehg', root),
[os.path.join(root, file_) for file_ in files])
for root, dirs, files in os.walk('icons')]
|
@@ -31,7 +31,7 @@ curdir = osp.dirname(__file__)
pyfile = osp.join(curdir, "workbench_rc.py")
rcfile = osp.join(curdir, "workbench.qrc")
-if should_rebuild(rcfile, pyfile):
+if not hasattr(sys, "frozen") and should_rebuild(rcfile, pyfile):
if os.system('pyrcc4 %s -o %s' % (rcfile, pyfile)):
print "ERROR: Cannot convert the resource file '%s' into a python module."
print "Please check the PyQt 'pyrcc4' tool is installed, or do it by hand running:"
|
Loading...