__pkginfo__.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 21 Jun 2011 10:57:25 +0200
changeset 7543 570522300e22
parent 7489 b661ef475260
child 7562 cdef82ca9eab
permissions -rw-r--r--
[ms, entity metas] add 'actual source' to entities table / base entity metadata cache. Closes #1767090 this is needed since for entities from 'copy based sources' such as datafeed, we want entity.cw_metainformation() to return as 'source' the datafeed source, not the system source (ie the source where the entity is actually stored). For both performance and bootstraping reasons, we should store this information in the `entities` table and in the _type_source cache.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6491
ee9a10b6620e pylint option update
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6427
diff changeset
     1
# pylint: disable=W0622,C0103
7032
b712477ae286 [config] fix option group clash causing anonymous user configuration to end in the MAIN section instead of the WEB section if cubicweb-dev is installed
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6937
diff changeset
     2
# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
5421
8167de96c523 proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5295
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: 5295
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: 5295
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: 5295
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: 5295
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: 5295
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: 5295
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: 5295
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: 5295
diff changeset
    11
#
5424
8ecbcbff9777 replace logilab-common by CubicWeb in disclaimer
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5421
diff changeset
    12
# CubicWeb is distributed in the hope that it will be useful, but WITHOUT
5421
8167de96c523 proper licensing information (LGPL-2.1). Hope I get it right this time.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5295
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: 5295
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: 5295
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: 5295
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: 5295
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: 5295
diff changeset
    18
# with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    19
"""cubicweb global packaging information for the cubicweb knowledge management
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    20
software
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    21
"""
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    22
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    23
modname = distname = "cubicweb"
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    24
7543
570522300e22 [ms, entity metas] add 'actual source' to entities table / base entity metadata cache. Closes #1767090
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7489
diff changeset
    25
numversion = (3, 13, 1)
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    26
version = '.'.join(str(num) for num in numversion)
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    27
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    28
description = "a repository of entities / relations for knowledge management"
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    29
author = "Logilab"
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    30
author_email = "contact@logilab.fr"
858
e6ae125d5903 reorganize debian packages (Closes: #1168)
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 482
diff changeset
    31
web = 'http://www.cubicweb.org'
e6ae125d5903 reorganize debian packages (Closes: #1168)
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 482
diff changeset
    32
ftp = 'ftp://ftp.logilab.org/pub/cubicweb'
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    33
license = 'LGPL'
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    34
2419
e98454c4af87 add classifiers
Arthur Lutz <arthur.lutz@logilab.fr>
parents: 2406
diff changeset
    35
classifiers = [
e98454c4af87 add classifiers
Arthur Lutz <arthur.lutz@logilab.fr>
parents: 2406
diff changeset
    36
           'Environment :: Web Environment',
e98454c4af87 add classifiers
Arthur Lutz <arthur.lutz@logilab.fr>
parents: 2406
diff changeset
    37
           'Framework :: CubicWeb',
e98454c4af87 add classifiers
Arthur Lutz <arthur.lutz@logilab.fr>
parents: 2406
diff changeset
    38
           'Programming Language :: Python',
e98454c4af87 add classifiers
Arthur Lutz <arthur.lutz@logilab.fr>
parents: 2406
diff changeset
    39
           'Programming Language :: JavaScript',
e98454c4af87 add classifiers
Arthur Lutz <arthur.lutz@logilab.fr>
parents: 2406
diff changeset
    40
]
e98454c4af87 add classifiers
Arthur Lutz <arthur.lutz@logilab.fr>
parents: 2406
diff changeset
    41
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    42
__depends__ = {
7136
5406c963ee81 update lgc dependency also in pkginfo
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7124
diff changeset
    43
    'logilab-common': '>= 0.55.2',
5719
8450389f2073 [idownloadable] depends on a new mtconverter release
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5708
diff changeset
    44
    'logilab-mtconverter': '>= 0.8.0',
6810
a8e7dffdb19a update version number of dependancy to rql
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6809
diff changeset
    45
    'rql': '>= 0.28.0',
7166
dde161937d3e [time zone] support for TZDatetime and TZTime data type
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7136
diff changeset
    46
    'yams': '>= 0.32.0',
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    47
    'docutils': '>= 0.6',
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    48
    #gettext                    # for xgettext, msgcat, etc...
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    49
    # web dependancies
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    50
    'simplejson': '>= 2.0.9',
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    51
    'lxml': '',
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    52
    'Twisted': '',
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    53
    # XXX graphviz
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    54
    # server dependencies
7166
dde161937d3e [time zone] support for TZDatetime and TZTime data type
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7136
diff changeset
    55
    'logilab-database': '>= 1.5.0',
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    56
    'pysqlite': '>= 2.5.5', # XXX install pysqlite2
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    57
    }
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    58
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    59
__recommends__ = {
6241
115d9799b67c should not use pyro 4
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6208
diff changeset
    60
    'Pyro': '>= 3.9.1, < 4.0.0',
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    61
    'PIL': '',                  # for captcha
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    62
    'pycrypto': '',             # for crypto extensions
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    63
    'fyzz': '>= 0.1.0',         # for sparql
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    64
    'vobject': '>= 0.6.0',      # for ical view
7016
6665fa16aa45 [web/views] add a generic rdf view
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents: 6994
diff changeset
    65
    'rdflib': None,             #
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    66
    #'Products.FCKeditor':'',
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    67
    #'SimpleTAL':'>= 4.1.6',
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    68
    }
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    69
858
e6ae125d5903 reorganize debian packages (Closes: #1168)
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 482
diff changeset
    70
import sys
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    71
from os import listdir, environ
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    72
from os.path import join, isdir
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    73
import glob
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    74
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    75
scripts = [s for s in glob.glob(join('bin', 'cubicweb-*'))
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    76
           if not s.endswith('.bat')]
265
97361ddaf342 fix include_dirs
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents: 264
diff changeset
    77
include_dirs = [join('test', 'data'),
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    78
                join('server', 'test', 'data'),
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    79
                join('hooks', 'test', 'data'),
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    80
                join('web', 'test', 'data'),
5787
20377d2fcc70 [qunit] Move qunit.js and qunit.css in devtools/datadirectory
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 5775
diff changeset
    81
                join('devtools', 'data'),
265
97361ddaf342 fix include_dirs
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents: 264
diff changeset
    82
                join('devtools', 'test', 'data'),
5469
4746c157e5e4 [packaging] we should add schemas to include_dirs so sql extensions files are properly installed
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5439
diff changeset
    83
                'schemas', 'skeleton']
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    84
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    85
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    86
_server_migration_dir = join('misc', 'migration')
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    87
_data_dir = join('web', 'data')
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    88
_wdoc_dir = join('web', 'wdoc')
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    89
_wdocimages_dir = join(_wdoc_dir, 'images')
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    90
_views_dir = join('web', 'views')
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    91
_i18n_dir = 'i18n'
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    92
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    93
_pyversion = '.'.join(str(num) for num in sys.version_info[0:2])
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    94
if '--home' in sys.argv:
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    95
    # --home install
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    96
    pydir = 'python' + _pyversion
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
    97
else:
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
    98
    pydir = join('python' + _pyversion, 'site-packages')
264
6eb0725d509d packaging fix: distribute skeleton
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents: 259
diff changeset
    99
6516
6b2e1e8d3a22 [pkg] use argument *package_data*
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 6295
diff changeset
   100
# data files that shall be copied into the main package directory
6b2e1e8d3a22 [pkg] use argument *package_data*
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 6295
diff changeset
   101
package_data = {
6b2e1e8d3a22 [pkg] use argument *package_data*
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 6295
diff changeset
   102
    'cubicweb.web.views':['*.pt'],
6b2e1e8d3a22 [pkg] use argument *package_data*
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 6295
diff changeset
   103
    }
6b2e1e8d3a22 [pkg] use argument *package_data*
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 6295
diff changeset
   104
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   105
try:
6516
6b2e1e8d3a22 [pkg] use argument *package_data*
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 6295
diff changeset
   106
    # data files that shall be copied outside the main package directory
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   107
    data_files = [
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   108
        # server data
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   109
        [join('share', 'cubicweb', 'schemas'),
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
   110
         [join('schemas', filename) for filename in listdir('schemas')]],
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   111
        [join('share', 'cubicweb', 'migration'),
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
   112
         [join(_server_migration_dir, filename)
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
   113
          for filename in listdir(_server_migration_dir)]],
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   114
        # web data
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   115
        [join('share', 'cubicweb', 'cubes', 'shared', 'data'),
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
   116
         [join(_data_dir, fname) for fname in listdir(_data_dir)
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
   117
          if not isdir(join(_data_dir, fname))]],
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   118
        [join('share', 'cubicweb', 'cubes', 'shared', 'data', 'timeline'),
5125
eaec839ad3fe fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5121
diff changeset
   119
         [join(_data_dir, 'timeline', fname) for fname in listdir(join(_data_dir, 'timeline'))]],
5110
e1f0fb044d94 [distribution] the web/data/images directory has to be handled in pkginfo
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5045
diff changeset
   120
        [join('share', 'cubicweb', 'cubes', 'shared', 'data', 'images'),
5125
eaec839ad3fe fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5121
diff changeset
   121
         [join(_data_dir, 'images', fname) for fname in listdir(join(_data_dir, 'images'))]],
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   122
        [join('share', 'cubicweb', 'cubes', 'shared', 'wdoc'),
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
   123
         [join(_wdoc_dir, fname) for fname in listdir(_wdoc_dir)
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
   124
          if not isdir(join(_wdoc_dir, fname))]],
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   125
        [join('share', 'cubicweb', 'cubes', 'shared', 'wdoc', 'images'),
5024
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
   126
         [join(_wdocimages_dir, fname) for fname in listdir(_wdocimages_dir)]],
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
   127
        [join('share', 'cubicweb', 'cubes', 'shared', 'i18n'),
9e718abe3fde add egg support with dependencies auto-installation
Alain Leufroy <alain.leufroy@logilab.fr>
parents: 4984
diff changeset
   128
         [join(_i18n_dir, fname) for fname in listdir(_i18n_dir)]],
264
6eb0725d509d packaging fix: distribute skeleton
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents: 259
diff changeset
   129
        # skeleton
0
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   130
        ]
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   131
except OSError:
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   132
    # we are in an installed directory, don't care about this
b97547f5f1fa Showtime !
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents:
diff changeset
   133
    pass