Skip to content
Snippets Groups Projects
__pkginfo__.py 1.38 KiB
Newer Older
Nicolas Chauvat's avatar
Nicolas Chauvat committed
# pylint: disable-msg=W0622
"""cubicweb-comment packaging information"""

distname = "cubicweb-comment"
modname = distname.split('-', 1)[1]
sylvain thenault's avatar
sylvain thenault committed
numversion = (1, 4, 0)
Nicolas Chauvat's avatar
Nicolas Chauvat committed
version = '.'.join(str(num) for num in numversion)

license = 'LGPL'
copyright = '''Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE).
Nicolas Chauvat's avatar
Nicolas Chauvat committed
http://www.logilab.fr/ -- mailto:contact@logilab.fr'''

author = "Logilab"
author_email = "contact@logilab.fr"
web = ''

short_desc = "Comment system for the CubicWeb framework"
long_desc = """CubicWeb is a entities / relations bases knowledge management system
developped at Logilab.
.
This package provides a system allowing comments threads on content of cubicweb 
applications.
.
"""

from os import listdir
from os.path import join

CUBES_DIR = join('share', 'cubicweb', 'cubes')

try:
    data_files = [
        [join(CUBES_DIR, 'comment'),
         [fname for fname in listdir('.')
          if fname.endswith('.py') and fname != 'setup.py']],
        [join(CUBES_DIR, 'comment', 'data'),
         [join('data', fname) for fname in listdir('data')]],
        [join(CUBES_DIR, 'comment', 'i18n'),
         [join('i18n', fname) for fname in listdir('i18n')]],
        [join(CUBES_DIR, 'comment', 'migration'),
         [join('migration', fname) for fname in listdir('migration')]],
        ]
except OSError:
    # we are in an installed directory
    pass


cube_eid = 20316
# used packages
__use__ = ()