Changeset 0ed2d81c314b…
Parent 86795e3c3a27…
by
Changes to 2 files · Browse files at 0ed2d81c314b Showing diff from parent 86795e3c3a27 Diff from another changeset...
@@ -1,7 +1,7 @@ [py2exe]
excludes=pywin, pywin.dialogs, pywin.dialogs.list, PyQt, PyQt4.QtCode, PyQt4.QtGui
includes=cairo, pango, pangocairo, atk, gobject, dbhash
-packages=email, hgext, hgext.convert, encodings, hggtk, thgutil
+packages=email, hgext, hgext.convert, encodings, hggtk, hggtk.logview, thgutil, thgutil.iniparse
# Disabled for 0.7 release
#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
|
@@ -141,7 +141,17 @@ self.distribution.data_files.append((join('mercurial', modir),
[mofile]))
+class build_shellext(build):
+ description = "Build TortoiseHg shell extensions"
+
+ def run(self):
+ cwd = os.getcwd()
+ os.chdir("win32/shellext")
+ os.system("mingw32-make")
+ os.chdir(cwd)
+
build.sub_commands.append(('build_mo', None))
+build.sub_commands.append(('build_shellext', None))
Distribution.pure = 0
Distribution.global_options.append(('pure', None, "use pure (slow) Python "
@@ -171,7 +181,8 @@
cmdclass = {'install_data': install_package_data,
'build_mo': build_mo,
- 'build_py': hg_build_py}
+ 'build_py': hg_build_py,
+ 'build_shellext' : build_shellext}
ext_modules=[
Extension('mercurial.base85', ['mercurial/base85.c']),
@@ -182,7 +193,8 @@ ]
packages = ['mercurial', 'mercurial.hgweb', 'hgext', 'hgext.convert',
- 'hgext.highlight', 'hgext.zeroconf', 'hggtk', 'thgutil']
+ 'hgext.highlight', 'hgext.zeroconf', 'hggtk',
+ 'hggtk.logview', 'thgutil', 'thgutil.iniparse']
try:
import msvcrt
|
Loading...