Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

setup: build both console and windows thg launchers

the non-console launcher will be named thgw.exe. It will
not be able to emit console messages at all, and should only
be used for shortcuts, etc.

Changeset b116bd3fb016

Parent 4dbb61bdf1c6

by Steve Borho

Changes to one file · Browse files at b116bd3fb016 Showing diff from parent 4dbb61bdf1c6 Diff from another changeset...

Change 1 of 3 Show Entire File setup.py Stacked
 
10
11
12
 
13
14
15
 
250
251
252
 
253
 
 
 
 
 
254
255
256
 
262
263
264
265
 
266
267
268
 
10
11
12
13
14
15
16
 
251
252
253
254
255
256
257
258
259
260
261
262
263
 
269
270
271
 
272
273
274
275
@@ -10,6 +10,7 @@
 import time  import sys  import os +import shutil  import subprocess  from fnmatch import fnmatch  from distutils import log @@ -250,7 +251,13 @@
  "optimize" : 1   }   } + shutil.copyfile('thg', 'thgw')   extra['console'] = [ + {'script':'thg', + 'icon_resources':[(0,'icons/thg_logo.ico')], + 'description':'TortoiseHg GUI tools for Mercurial SCM', + 'copyright':thgcopyright, + 'product_version':version},   {'script':'contrib/hg',   'icon_resources':[(0,'icons/hg.ico')],   'description':'Mercurial Distributed SCM', @@ -262,7 +269,7 @@
  'product_version':version}   ]   extra['windows'] = [ - {'script':'thg', + {'script':'thgw',   'icon_resources':[(0,'icons/thg_logo.ico')],   'description':'TortoiseHg GUI tools for Mercurial SCM',   'copyright':thgcopyright,