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

setup: create a __paths__.py file for unix paths

Changeset 0c7a335c61f2

Parent 5b3e082863c4

by Steve Borho

Changes to one file · Browse files at 0c7a335c61f2 Showing diff from parent 5b3e082863c4 Diff from another changeset...

Change 1 of 1 Show Entire File setup.py Stacked
 
123
124
125
 
 
 
 
 
 
 
 
126
127
128
 
123
124
125
126
127
128
129
130
131
132
133
134
135
136
@@ -123,6 +123,14 @@
  _data_files += [('lib/nautilus/extensions-2.0/python',   ['contrib/nautilus-thg.py'])]   + # Create a __paths__.py. Distributions will need to supply their own + f = open('thgutil/__paths__.py', "w") + f.write('bin_path = "/usr/bin"\n') + f.write('license_path = "/usr/share/doc/tortoisehg/Copying.txt.gz"\n') + f.write('locale_path = "/usr/share/locale"\n') + f.write('icon_path = "/usr/share/pixmaps/tortoisehg/icons"\n') + f.close() +   return _scripts, _packages, _data_files, _extra