[pkg] fix setup.py install
authorJulien Cristau <julien.cristau@logilab.fr>
Sat, 31 Jan 2015 19:32:32 +0100
changeset 10173 c06ef8a2e4df
parent 10172 6cae0ffe7342
child 10174 7e1c8fb9c407
[pkg] fix setup.py install One day I'll get this thing right. Maybe.
__pkginfo__.py
--- a/__pkginfo__.py	Fri Jan 30 16:14:44 2015 +0100
+++ b/__pkginfo__.py	Sat Jan 31 19:32:32 2015 +0100
@@ -120,7 +120,11 @@
         [join('share', 'cubicweb', 'cubes', 'shared', 'data', 'images'),
          [join(_data_dir, 'images', fname) for fname in listdir(join(_data_dir, 'images'))]],
         [join('share', 'cubicweb', 'cubes', 'shared', 'data', 'jquery-treeview'),
-         [join(_data_dir, 'jquery-treeview', fname) for fname in listdir(join(_data_dir, 'jquery-treeview'))]],
+         [join(_data_dir, 'jquery-treeview', fname) for fname in listdir(join(_data_dir, 'jquery-treeview'))
+          if not isdir(join(_data_dir, 'jquery-treeview', fname))]],
+        [join('share', 'cubicweb', 'cubes', 'shared', 'data', 'jquery-treeview', 'images'),
+         [join(_data_dir, 'jquery-treeview', 'images', fname)
+          for fname in listdir(join(_data_dir, 'jquery-treeview', 'images'))]],
         [join('share', 'cubicweb', 'cubes', 'shared', 'wdoc'),
          [join(_wdoc_dir, fname) for fname in listdir(_wdoc_dir)
           if not isdir(join(_wdoc_dir, fname))]],