__pkginfo__.py
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 08 Jan 2010 16:55:52 +0100
branchstable
changeset 96 39b0f2292d0f
parent 95 40beb6f7c57d
child 99 c9f8c151ccdf
permissions -rw-r--r--
Added tag cubicweb-keyword-version-1.5.0 for changeset 40beb6f7c57d

# pylint: disable-msg=W0622
"""cubicweb-classification-schemes packaging information"""

modname = 'keyword'
distname = "cubicweb-keyword"

numversion = (1, 5, 0)
version = '.'.join(str(num) for num in numversion)

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

author = "Logilab"
author_email = "contact@logilab.fr"
web = 'http://www.cubicweb.org/project/%s' % distname

short_desc = "keyword component for the Cubicweb framework"
long_desc = """This Cubicweb component provides classification (hierarchies of keywords)
to classify content. See also cubicweb-tag.

CubicWeb is a semantic web application framework, see http://www.cubicweb.org
"""

classifiers = [
    'Environment :: Web Environment',
    'Framework :: CubicWeb',
    'Programming Language :: Python',
    'Programming Language :: JavaScript',
    ]

__depends_cubes__ = {}
__depends__ = {'cubicweb': '>= 3.0.0'}
__use__ = tuple(__depends_cubes__)

from os import listdir
from os.path import join

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