# pylint: disable-msg=W0622 """cubicweb-link packaging information""" modname = 'link' distname = "cubicweb-%s" % modname numversion = (1, 3, 1) 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 = "link component for the CubicWeb framework" long_desc = """This CubicWeb component provides links (a URL with a description). CubicWeb is a semantic web application framework, see http://www.cubicweb.org """ classifiers = [ 'Environment :: Web Environment', 'Framework :: CubicWeb', 'Programming Language :: Python', 'Programming Language :: JavaScript', ] # dependencies __depends_cubes__ = {} __depends__ = {'cubicweb': '>= 3.2.0'} __use__ = tuple(__depends_cubes__) # packaging from os import listdir from os.path import join CUBES_DIR = join('share', 'cubicweb', 'cubes') try: data_files = [ [join(CUBES_DIR, 'link'), [fname for fname in listdir('.') if fname.endswith('.py') and fname != 'setup.py']], [join(CUBES_DIR, 'link', 'data'), [join('data', fname) for fname in listdir('data')]], [join(CUBES_DIR, 'link', 'i18n'), [join('i18n', fname) for fname in listdir('i18n')]], [join(CUBES_DIR, 'link', 'migration'), [join('migration', fname) for fname in listdir('migration')]], ] except OSError: # we are in an installed directory pass cube_eid = 20332