[FIX] Insert the data files of Babel
authorStephane Wirtel <stw@openerp.com>
Tue, 7 Feb 2012 12:14:11 +0000 (13:14 +0100)
committerStephane Wirtel <stw@openerp.com>
Tue, 7 Feb 2012 12:14:11 +0000 (13:14 +0100)
bzr revid: stw@openerp.com-20120207121411-2jkg7eq3pb91pqq6

setup.py

index be9e90b..6e1adad 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -40,6 +40,11 @@ def data():
     r = d.items()
     if os.name == 'nt':
         r.append(("Microsoft.VC90.CRT", glob.glob('C:\Microsoft.VC90.CRT\*.*')))
+
+    import babel
+    r.append(("localedata",
+              glob.glob(os.path.join(os.path.dirname(babel.__file__), "localedata" , '*'))))
+
     return r
 
 def gen_manifest():