Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

setup: build shell extensions, add more packages

Changeset 0ed2d81c314b

Parent 86795e3c3a27

by Steve Borho

Changes to 2 files · Browse files at 0ed2d81c314b Showing diff from parent 86795e3c3a27 Diff from another changeset...

 
1
2
3
4
 
5
6
7
 
1
2
3
 
4
5
6
7
@@ -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
142
143
 
 
 
 
 
 
 
 
 
144
 
145
146
147
 
171
172
173
174
 
 
175
176
177
 
182
183
184
185
 
 
186
187
188
 
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
 
181
182
183
 
184
185
186
187
188
 
193
194
195
 
196
197
198
199
200
@@ -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