Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc1, 0.4rc2, and 0.4rc3

setup: switch hgproc.py from console to window app

This fixes the CLI icon in the system tray problem. If you don't want hgproc to
show up in the tray 'summary' for tortoisehg apps, then we need to rename hgproc.

Changeset 1b42d593d866

Parent 0e7781407c14

by Steve Borho

Changes to one file · Browse files at 1b42d593d866 Showing diff from parent 0e7781407c14 Diff from another changeset...

Change 1 of 1 Show Entire File setup.py Stacked
 
46
47
48
49
50
 
 
 
 
 
 
51
52
 
53
54
55
 
46
47
48
 
 
49
50
51
52
53
54
55
 
56
57
58
59
@@ -46,10 +46,14 @@
  for f in os.listdir(hgextdir)])   _data_files = [(root, [os.path.join(root, file_) for file_ in files])   for root, dirs, files in os.walk('icons')] - extra['windows'] = [{"script":"hggtk/tracelog.py", - "icon_resources": [(1, "icons/tortoise/python.ico")]}] + extra['windows'] = [ + {"script":"hgproc.py", + "icon_resources": [(1, "icons/tortoise/hg.ico")]}, + {"script":"hggtk/tracelog.py", + "icon_resources": [(1, "icons/tortoise/python.ico")]} + ]   extra['com_server'] = ["tortoisehg"] - extra['console'] = ["contrib/hg", "hgproc.py", "hgutils/simplemerge"] + extra['console'] = ["contrib/hg", "hgutils/simplemerge"]    elif 'bdist_msi' in sys.argv or 'bdist_wininst' in sys.argv:   # C:\Python25\share\tortoisehg\icons\...