__pkginfo__.py
changeset 10160 b733789cc339
parent 10152 2ca571e4cb2f
child 10161 138464fc1c33
equal deleted inserted replaced
10152:2ca571e4cb2f 10160:b733789cc339
   105 try:
   105 try:
   106     # data files that shall be copied outside the main package directory
   106     # data files that shall be copied outside the main package directory
   107     data_files = [
   107     data_files = [
   108         # server data
   108         # server data
   109         [join('share', 'cubicweb', 'schemas'),
   109         [join('share', 'cubicweb', 'schemas'),
   110          [join('schemas', filename) for filename in glob.glob(join('schemas', '*.sql'))]],
   110          glob.glob(join('schemas', '*.sql'))],
   111         [join('share', 'cubicweb', 'migration'),
   111         [join('share', 'cubicweb', 'migration'),
   112          [join(_server_migration_dir, filename)
   112          [join(_server_migration_dir, filename)
   113           for filename in listdir(_server_migration_dir)]],
   113           for filename in listdir(_server_migration_dir)]],
   114         # web data
   114         # web data
   115         [join('share', 'cubicweb', 'cubes', 'shared', 'data'),
   115         [join('share', 'cubicweb', 'cubes', 'shared', 'data'),
   123          [join(_wdoc_dir, fname) for fname in listdir(_wdoc_dir)
   123          [join(_wdoc_dir, fname) for fname in listdir(_wdoc_dir)
   124           if not isdir(join(_wdoc_dir, fname))]],
   124           if not isdir(join(_wdoc_dir, fname))]],
   125         [join('share', 'cubicweb', 'cubes', 'shared', 'wdoc', 'images'),
   125         [join('share', 'cubicweb', 'cubes', 'shared', 'wdoc', 'images'),
   126          [join(_wdocimages_dir, fname) for fname in listdir(_wdocimages_dir)]],
   126          [join(_wdocimages_dir, fname) for fname in listdir(_wdocimages_dir)]],
   127         [join('share', 'cubicweb', 'cubes', 'shared', 'i18n'),
   127         [join('share', 'cubicweb', 'cubes', 'shared', 'i18n'),
   128          [join(_i18n_dir, fname) for fname in glob.glob(join(_i18n_dir, '*.po'))]],
   128          glob.glob(join(_i18n_dir, '*.po'))],
   129         # skeleton
   129         # skeleton
   130         ]
   130         ]
   131 except OSError:
   131 except OSError:
   132     # we are in an installed directory, don't care about this
   132     # we are in an installed directory, don't care about this
   133     pass
   133     pass