diff setup.py @ 757:38914e43f0dd

setup.py: include i18n/mo/*.mo and some other files
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 08 Jun 2006 17:30:01 +0200
parents 0d3e9b79dde3
children c02c3bcad99b 09e8cb58f637
line wrap: on
line diff
--- a/setup.py	Thu Jun 08 12:49:22 2006 +0200
+++ b/setup.py	Thu Jun 08 17:30:01 2006 +0200
@@ -235,6 +235,15 @@
         'MoinMoin._tests',
     ],
 
+    # TODO package_dir and package_data only works for python >= 2.4
+    # in case we don't require python >= 2.4 for 1.6 release, we need to find
+    # a solution for python 2.3.x
+    'package_dir': { 'MoinMoin.i18n': 'MoinMoin/i18n', },
+    'package_data': { 'MoinMoin.i18n': ['README', 'Makefile', 'MoinMoin.pot', 'POTFILES.in',
+                                        '*.po',
+                                        'mo/*',
+                                        'tools/*',], },
+
     # Override certain command classes with our own ones
     'cmdclass': {
         'build_scripts': build_scripts_moin,