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

setup: remove hgproc.py from distribution

Changeset bd8ca53859a7

Parent 7d664d38d11a

by Steve Borho

Changes to one file · Browse files at bd8ca53859a7 Showing diff from parent 7d664d38d11a Diff from another changeset...

Change 1 of 6 Show Entire File setup.py Stacked
 
1
2
3
 
4
5
6
7
8
9
 
 
 
10
11
12
13
14
15
16
17
18
19
 
54
55
56
57
58
59
60
61
 
84
85
86
87
 
88
89
90
 
97
98
99
 
100
101
102
103
104
105
 
106
107
108
 
111
112
113
114
115
116
117
 
125
126
127
128
 
129
130
131
 
1
2
 
3
4
 
 
 
 
 
5
6
7
8
9
10
11
12
13
 
14
15
16
 
51
52
53
 
 
54
55
56
 
79
80
81
 
82
83
84
85
 
92
93
94
95
96
97
 
 
 
 
98
99
100
101
 
104
105
106
 
107
108
109
 
117
118
119
 
120
121
122
123
@@ -1,19 +1,16 @@
 # setup.py  # A distutils setup script to install TortoiseHg in Windows and Posix -# environments. In Windows, it will register TortoiseHG COM server. +# environments.  # -# For Windows: -# To build stand-alone package, use 'python setup.py py2exe' then use -# InnoSetup to build the installer. By default, the installer will be -# created as dist\Output\setup.exe. -# +# On Windows, this script is mostly used to build a stand-alone +# TortoiseHg package. See installer\build.txt for details. The other +# use is to report the current version of the TortoiseHg source.    import time  import sys  import os  from distutils.core import setup   -  def setup_windows():   # Specific definitios for Windows NT-alike installations   _scripts = [] @@ -54,8 +51,6 @@
  _data_files = [(root, [os.path.join(root, file_) for file_ in files])   for root, dirs, files in os.walk('icons')]   extra['windows'] = [ - {"script":"hgproc.py", - "icon_resources": [(1, "icons/tortoise/hg.ico")]},   {"script":"tracelog.py",   "icon_resources": [(1, "icons/tortoise/python.ico")]}   ] @@ -84,7 +79,7 @@
 def setup_posix():   # Specific definitios for Posix installations   _extra = {} - _scripts = ['contrib/hgtk', 'hgproc.py'] + _scripts = ['hgtk']   _packages = ['hggtk', 'hggtk.vis', 'hggtk.iniparse', 'tortoise']   _data_files = [(os.path.join('share/pixmaps/tortoisehg', root),   [os.path.join(root, file_) for file_ in files]) @@ -97,12 +92,10 @@
   if os.name == "nt":   (scripts, packages, data_files, extra) = setup_windows() + desc='Windows shell extension for Mercurial VCS',  else:   (scripts, packages, data_files, extra) = setup_posix() - - -# specify version string, otherwise 'hg identify' will be used: -version = '' + desc='TortoiseHg dialogs for Mercurial VCS',    try:   l = os.popen('hg id -it').read().split() @@ -111,7 +104,6 @@
  version = l and l[-1] or 'unknown' # latest tag or revision number   if version.endswith('+'):   version += time.strftime('%Y%m%d') -  except OSError:   version = "unknown"   @@ -125,7 +117,7 @@
  author='TK Soh',   author_email='teekaysoh@gmail.com',   url='http://bitbucket.org/tortoisehg/stable/', - description='Windows shell extension for Mercurial VCS', + description=desc,   license='GNU GPL2',   scripts=scripts,   packages=packages,