test/data/cubes/file/__pkginfo__.py
changeset 5024 9e718abe3fde
parent 4212 ab6573088b4a
child 5423 e15abfdcce38
equal deleted inserted replaced
5023:70d5d54e8b81 5024:9e718abe3fde
    11 modname = distname.split('-', 1)[1]
    11 modname = distname.split('-', 1)[1]
    12 
    12 
    13 numversion = (1, 4, 3)
    13 numversion = (1, 4, 3)
    14 version = '.'.join(str(num) for num in numversion)
    14 version = '.'.join(str(num) for num in numversion)
    15 
    15 
    16 license = 'LGPL'
       
    17 copyright = '''Copyright (c) 2003-2010 LOGILAB S.A. (Paris, FRANCE).
       
    18 http://www.logilab.fr/ -- mailto:contact@logilab.fr'''
       
    19 
       
    20 author = "Logilab"
       
    21 author_email = "contact@logilab.fr"
       
    22 web = ''
       
    23 
       
    24 short_desc = "Raw file support for the CubicWeb framework"
       
    25 long_desc = """CubicWeb is a entities / relations bases knowledge management system
       
    26 developped at Logilab.
       
    27 .
       
    28 This package provides schema and views to store files and images in cubicweb
       
    29 applications.
       
    30 .
       
    31 """
       
    32 
       
    33 from os import listdir
       
    34 from os.path import join
       
    35 
       
    36 CUBES_DIR = join('share', 'cubicweb', 'cubes')
       
    37 try:
       
    38     data_files = [
       
    39         [join(CUBES_DIR, 'file'),
       
    40          [fname for fname in listdir('.')
       
    41           if fname.endswith('.py') and fname != 'setup.py']],
       
    42         [join(CUBES_DIR, 'file', 'data'),
       
    43          [join('data', fname) for fname in listdir('data')]],
       
    44         [join(CUBES_DIR, 'file', 'wdoc'),
       
    45          [join('wdoc', fname) for fname in listdir('wdoc')]],
       
    46         [join(CUBES_DIR, 'file', 'views'),
       
    47          [join('views', fname) for fname in listdir('views') if fname.endswith('.py')]],
       
    48         [join(CUBES_DIR, 'file', 'i18n'),
       
    49          [join('i18n', fname) for fname in listdir('i18n')]],
       
    50         [join(CUBES_DIR, 'file', 'migration'),
       
    51          [join('migration', fname) for fname in listdir('migration')]],
       
    52         ]
       
    53 except OSError:
       
    54     # we are in an installed directory
       
    55     pass
       
    56 
       
    57 
       
    58 cube_eid = 20320
       
    59 # used packages
       
    60 __use__ = ()