[Debian-l10n-commits] r2599 - /translate-toolkit/trunk/setup.py

bubulle at users.alioth.debian.org bubulle at users.alioth.debian.org
Fri Apr 15 17:53:59 UTC 2011


Author: bubulle
Date: Fri Apr 15 17:53:53 2011
New Revision: 2599

URL: http://svn.debian.org/wsvn/?sc=1&rev=2599
Log:
Restore setup.py from 1.9.0

Modified:
    translate-toolkit/trunk/setup.py

Modified: translate-toolkit/trunk/setup.py
URL: http://svn.debian.org/wsvn/translate-toolkit/trunk/setup.py?rev=2599&op=diff
==============================================================================
--- translate-toolkit/trunk/setup.py (original)
+++ translate-toolkit/trunk/setup.py Fri Apr 15 17:53:53 2011
@@ -59,6 +59,7 @@
                   ('convert', 'html2po'), ('convert', 'po2html'),
                   ('convert', 'ical2po'), ('convert', 'po2ical'),
                   ('convert', 'ini2po'), ('convert', 'po2ini'),
+                  ('convert', 'json2po'), ('convert', 'po2json'),
                   ('convert', 'tiki2po'), ('convert', 'po2tiki'),
                   ('convert', 'php2po'), ('convert', 'po2php'),
                   ('convert', 'rc2po'), ('convert', 'po2rc'),
@@ -83,8 +84,6 @@
                   ('tools', 'poclean'),
                   ('tools', 'poterminology'),
                   ('tools', 'pretranslate'),
-                  ('services', 'lookupclient.py'),
-                  ('services', 'lookupservice'),
                   ('services', 'tmserver'),
                   ('tools', 'build_tmdb')]
 
@@ -317,6 +316,7 @@
   print >>file, "prune virtaal"
   print >>file, "prune spelt"
   print >>file, "prune corpuscatcher"
+  print >>file, "prune amagama"
   print >>file, "prune .svn"
   print >>file, "# MANIFEST.in: the above autogenerated by setup.py from translate %s" % translateversion
 
@@ -327,7 +327,10 @@
     py2exeoptions = {}
     py2exeoptions["packages"] = ["translate", "encodings"]
     py2exeoptions["compressed"] = True
-    py2exeoptions["excludes"] = ["PyLucene", "Tkconstants", "Tkinter", "tcl"]
+    py2exeoptions["excludes"] = ["PyLucene", "Tkconstants", "Tkinter", "tcl", "enchant", #We need to do more to support spell checking on Windows
+            # strange things unnecessarily included with some versions of pyenchant:
+            "win32ui", "_win32sysloader", "win32pipe", "py2exe", "win32com", "pywin", "isapi", "_tkinter", "win32api",
+    ]
     version = attrs.get("version", translateversion)
     py2exeoptions["dist_dir"] = "translate-toolkit-%s" % version
     py2exeoptions["includes"] = ["lxml", "lxml._elementpath", "psyco"]




More information about the Debian-l10n-commits mailing list