author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 28 Apr 2010 10:06:01 +0200 | |
branch | stable |
changeset 5421 | 8167de96c523 |
parent 4212 | ab6573088b4a |
child 5423 | e15abfdcce38 |
child 5424 | 8ecbcbff9777 |
permissions | -rw-r--r-- |
1341 | 1 |
# pylint: disable-msg=W0622 |
5421
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
2 |
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
3 |
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
4 |
# |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
5 |
# This file is part of CubicWeb. |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
6 |
# |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
7 |
# CubicWeb is free software: you can redistribute it and/or modify it under the |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
8 |
# terms of the GNU Lesser General Public License as published by the Free |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
9 |
# Software Foundation, either version 2.1 of the License, or (at your option) |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
10 |
# any later version. |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
11 |
# |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
12 |
# logilab-common is distributed in the hope that it will be useful, but WITHOUT |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
13 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
14 |
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
15 |
# details. |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
16 |
# |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
17 |
# You should have received a copy of the GNU Lesser General Public License along |
8167de96c523
proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
4212
diff
changeset
|
18 |
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
1977
606923dff11b
big bunch of copyright / docstring update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
1341
diff
changeset
|
19 |
"""cubicweb-file packaging information |
606923dff11b
big bunch of copyright / docstring update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
1341
diff
changeset
|
20 |
|
606923dff11b
big bunch of copyright / docstring update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
1341
diff
changeset
|
21 |
""" |
1341 | 22 |
|
23 |
distname = "cubicweb-file" |
|
24 |
modname = distname.split('-', 1)[1] |
|
25 |
||
26 |
numversion = (1, 4, 3) |
|
27 |
version = '.'.join(str(num) for num in numversion) |
|
28 |
||
29 |
license = 'LGPL' |
|
4212
ab6573088b4a
update copyright: welcome 2010
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
1977
diff
changeset
|
30 |
copyright = '''Copyright (c) 2003-2010 LOGILAB S.A. (Paris, FRANCE). |
1341 | 31 |
http://www.logilab.fr/ -- mailto:contact@logilab.fr''' |
32 |
||
33 |
author = "Logilab" |
|
34 |
author_email = "contact@logilab.fr" |
|
35 |
web = '' |
|
36 |
||
37 |
short_desc = "Raw file support for the CubicWeb framework" |
|
38 |
long_desc = """CubicWeb is a entities / relations bases knowledge management system |
|
39 |
developped at Logilab. |
|
40 |
. |
|
41 |
This package provides schema and views to store files and images in cubicweb |
|
42 |
applications. |
|
43 |
. |
|
44 |
""" |
|
45 |
||
46 |
from os import listdir |
|
47 |
from os.path import join |
|
48 |
||
49 |
CUBES_DIR = join('share', 'cubicweb', 'cubes') |
|
50 |
try: |
|
51 |
data_files = [ |
|
52 |
[join(CUBES_DIR, 'file'), |
|
53 |
[fname for fname in listdir('.') |
|
54 |
if fname.endswith('.py') and fname != 'setup.py']], |
|
55 |
[join(CUBES_DIR, 'file', 'data'), |
|
56 |
[join('data', fname) for fname in listdir('data')]], |
|
57 |
[join(CUBES_DIR, 'file', 'wdoc'), |
|
58 |
[join('wdoc', fname) for fname in listdir('wdoc')]], |
|
59 |
[join(CUBES_DIR, 'file', 'views'), |
|
60 |
[join('views', fname) for fname in listdir('views') if fname.endswith('.py')]], |
|
61 |
[join(CUBES_DIR, 'file', 'i18n'), |
|
62 |
[join('i18n', fname) for fname in listdir('i18n')]], |
|
63 |
[join(CUBES_DIR, 'file', 'migration'), |
|
64 |
[join('migration', fname) for fname in listdir('migration')]], |
|
65 |
] |
|
66 |
except OSError: |
|
67 |
# we are in an installed directory |
|
68 |
pass |
|
69 |
||
70 |
||
71 |
cube_eid = 20320 |
|
72 |
# used packages |
|
73 |
__use__ = () |