Hi,
on Linux, if I run
        python setup.py install
it will install locale files twice:
-in /usr/tortoisehg/, and
-in /usr/share/locale

I would fix it with the attached patch. What do you think?

Thanks,
Ludovico
Description: avoid double installation of .mo files
Author: Ludovico Cavedon <ludovico.cave...@gmail.com>

Index: tortoisehg/setup.py
===================================================================
--- tortoisehg.orig/setup.py	2009-09-05 12:54:41.000000000 -0700
+++ tortoisehg/setup.py	2009-09-05 12:54:50.000000000 -0700
@@ -46,8 +46,8 @@
                 cmd.append('-c')
             self.mkpath(modir)
             self.make_file([pofile], mofile, spawn, (cmd,))
-            self.distribution.data_files.append((join('tortoisehg', modir),
-                                                 [mofile]))
+            #self.distribution.data_files.append((join('tortoisehg', modir),
+            #                                     [mofile]))
 
 build.sub_commands.append(('build_mo', None))
 
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to