Commit b1cde94f authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files


parent 9064ddc821b6
......@@ -25,21 +25,20 @@ This package provides baskets as a way to select content in cubicweb application
from os import listdir
from os.path import join
TEMPLATES_DIR = join('share', 'cubicweb', 'cubes')
CUBES_DIR = join('share', 'cubicweb', 'cubes')
data_files = [
[join(TEMPLATES_DIR, 'basket'),
[join(CUBES_DIR, 'basket'),
[fname for fname in listdir('.')
if fname.endswith('.py') and fname != '']],
[join(TEMPLATES_DIR, 'basket', 'data'),
[join(CUBES_DIR, 'basket', 'data'),
[join('data', fname) for fname in listdir('data')]],
[join(TEMPLATES_DIR, 'basket', 'i18n'),
[join(CUBES_DIR, 'basket', 'i18n'),
[join('i18n', fname) for fname in listdir('i18n')]],
[join(TEMPLATES_DIR, 'basket', 'migration'),
[join(CUBES_DIR, 'basket', 'migration'),
[join('migration', fname) for fname in listdir('migration')]],
except OSError, ex:
print ex
# we are in an installed directory
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment