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

setup: migrate to VC8 for building shell extensions

setup.py in thg-installer will build the shell extensions directly inside
the source repository, like it does the locales. It will copy the results
into the files\ directory where the ISS script will look for it. We also
have the option of checking in those files as a convenience to other people
who might not have VC8.

Changeset 5963777a709b

Parent d8d82873ae14

by Steve Borho

Changes to 2 files · Browse files at 5963777a709b Showing diff from parent d8d82873ae14 Diff from another changeset...

 
62
63
64
65
66
 
 
67
68
69
 
62
63
64
 
 
65
66
67
68
69
@@ -62,8 +62,8 @@
 Source: COPYING.txt; DestDir: {app}; DestName: Copying.txt  Source: ..\icons\hgicon.ico; DestDir: {app}   -Source: win32\shellext\THgShell.dll; DestDir: {app}; DestName: ThgShell.dll; Check: not Is64BitInstallMode; Flags: ignoreversion restartreplace uninsrestartdelete -Source: win32\shellext\ThgShell64.dll; DestDir: {app}; DestName: ThgShell.dll; Check: Is64BitInstallMode; Flags: ignoreversion restartreplace uninsrestartdelete +Source: ..\files\THgShellx86.dll; DestDir: {app}; DestName: ThgShell.dll; Check: not Is64BitInstallMode; Flags: ignoreversion restartreplace uninsrestartdelete +Source: ..\files\ThgShellx64.dll; DestDir: {app}; DestName: ThgShell.dll; Check: Is64BitInstallMode; Flags: ignoreversion restartreplace uninsrestartdelete    [INI]  Filename: {app}\Mercurial.url; Section: InternetShortcut; Key: URL; String: http://www.selenic.com/mercurial/
 
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
 
186
187
188
189
190
 
191
192
193
 
145
146
147
 
 
 
 
 
 
 
 
 
 
148
 
149
150
151
 
175
176
177
 
 
178
179
180
181
@@ -145,18 +145,7 @@
  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.environ["DEBUG"] = "1" - 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 " @@ -186,8 +175,7 @@
   cmdclass = {'install_data': install_package_data,   'build_mo': build_mo, - 'build_py': hg_build_py, - 'build_shellext' : build_shellext} + 'build_py': hg_build_py}    ext_modules=[   Extension('mercurial.base85', ['mercurial/base85.c']),