__pkginfo__.py 1.37 KB
Newer Older
Sandrine Ribeau's avatar
Sandrine Ribeau committed
1
# pylint: disable-msg=W0622
Nicolas Chauvat's avatar
Nicolas Chauvat committed
2
"""cubicweb-basket packaging information"""
Sandrine Ribeau's avatar
Sandrine Ribeau committed
3

Nicolas Chauvat's avatar
Nicolas Chauvat committed
4
distname = "cubicweb-basket"
5
modname = distname.split('-', 1)[1]
Sandrine Ribeau's avatar
Sandrine Ribeau committed
6

sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
7
numversion = (1, 2, 0)
Sandrine Ribeau's avatar
Sandrine Ribeau committed
8
9
version = '.'.join(str(num) for num in numversion)

Nicolas Chauvat's avatar
Nicolas Chauvat committed
10
license = 'LGPL'
sylvain.thenault@logilab.fr's avatar
sylvain.thenault@logilab.fr committed
11
copyright = '''Copyright (c) 2003-2009 LOGILAB S.A. (Paris, FRANCE).
Sandrine Ribeau's avatar
Sandrine Ribeau committed
12
13
14
15
16
17
http://www.logilab.fr/ -- mailto:contact@logilab.fr'''

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

Nicolas Chauvat's avatar
Nicolas Chauvat committed
18
19
short_desc = "Basket support for the Cubicweb framework"
long_desc = """Cubicweb is a entities / relations bases knowledge management system
Sandrine Ribeau's avatar
Sandrine Ribeau committed
20
21
developped at Logilab.
.
Nicolas Chauvat's avatar
Nicolas Chauvat committed
22
This package provides baskets as a way to select content in cubicweb applications.
Sandrine Ribeau's avatar
Sandrine Ribeau committed
23
24
25
26
27
28
.
"""

from os import listdir
from os.path import join

Nicolas Chauvat's avatar
Nicolas Chauvat committed
29
CUBES_DIR = join('share', 'cubicweb', 'cubes')
Sandrine Ribeau's avatar
Sandrine Ribeau committed
30
31
try:
    data_files = [
Nicolas Chauvat's avatar
Nicolas Chauvat committed
32
        [join(CUBES_DIR, 'basket'),
Sandrine Ribeau's avatar
Sandrine Ribeau committed
33
34
         [fname for fname in listdir('.')
          if fname.endswith('.py') and fname != 'setup.py']],
Nicolas Chauvat's avatar
Nicolas Chauvat committed
35
        [join(CUBES_DIR, 'basket', 'data'),
Sandrine Ribeau's avatar
Sandrine Ribeau committed
36
         [join('data', fname) for fname in listdir('data')]],
Nicolas Chauvat's avatar
Nicolas Chauvat committed
37
        [join(CUBES_DIR, 'basket', 'i18n'),
Sandrine Ribeau's avatar
Sandrine Ribeau committed
38
         [join('i18n', fname) for fname in listdir('i18n')]],
Nicolas Chauvat's avatar
Nicolas Chauvat committed
39
        [join(CUBES_DIR, 'basket', 'migration'),
Sandrine Ribeau's avatar
Sandrine Ribeau committed
40
41
42
43
44
45
46
47
48
49
         [join('migration', fname) for fname in listdir('migration')]],
        ]
except OSError, ex:
    # we are in an installed directory
    pass


template_eid = 20279
# used packages
__use__ = ()