__pkginfo__.py
branchstable
changeset 6516 6b2e1e8d3a22
parent 6295 6e1c2aca9fa0
child 6522 c46b3b3291e8
child 6572 df0b2de62cec
--- a/__pkginfo__.py	Fri Oct 15 17:00:09 2010 +0200
+++ b/__pkginfo__.py	Fri Oct 15 19:48:58 2010 +0200
@@ -96,7 +96,13 @@
 else:
     pydir = join('python' + _pyversion, 'site-packages')
 
+# data files that shall be copied into the main package directory
+package_data = {
+    'cubicweb.web.views':['*.pt'],
+    }
+
 try:
+    # data files that shall be copied outside the main package directory
     data_files = [
         # server data
         [join('share', 'cubicweb', 'schemas'),
@@ -119,10 +125,6 @@
          [join(_wdocimages_dir, fname) for fname in listdir(_wdocimages_dir)]],
         [join('share', 'cubicweb', 'cubes', 'shared', 'i18n'),
          [join(_i18n_dir, fname) for fname in listdir(_i18n_dir)]],
-        # XXX: drop .pt files
-        [join('lib', pydir, 'cubicweb', 'web', 'views'),
-         [join(_views_dir, fname) for fname in listdir(_views_dir)
-          if fname.endswith('.pt')]],
         # skeleton
         ]
 except OSError: