__pkginfo__.py
changeset 6522 c46b3b3291e8
parent 6510 b06310fc4e23
parent 6516 6b2e1e8d3a22
child 6538 3fc6b4aaaff3
--- a/__pkginfo__.py	Fri Oct 15 17:57:27 2010 +0200
+++ b/__pkginfo__.py	Fri Oct 15 19:52:18 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: