--- a/skeleton/__pkginfo__.py.tmpl Sun Aug 31 18:04:46 2014 +0200
+++ b/skeleton/__pkginfo__.py.tmpl Fri Feb 06 14:43:40 2015 +0100
@@ -13,7 +13,7 @@
description = '%(shortdesc)s'
web = 'http://www.cubicweb.org/project/%%s' %% distname
-__depends__ = %(dependencies)s
+__depends__ = %(dependencies)s
__recommends__ = {}
classifiers = [
@@ -29,6 +29,7 @@
THIS_CUBE_DIR = join('share', 'cubicweb', 'cubes', modname)
+
def listdir(dirpath):
return [join(dirpath, fname) for fname in _listdir(dirpath)
if fname[0] != '.' and not fname.endswith('.pyc')
@@ -40,9 +41,9 @@
[THIS_CUBE_DIR, [fname for fname in glob('*.py') if fname != 'setup.py']],
]
# check for possible extended cube layout
-for dname in ('entities', 'views', 'sobjects', 'hooks', 'schema', 'data', 'wdoc', 'i18n', 'migration'):
+for dname in ('entities', 'views', 'sobjects', 'hooks', 'schema', 'data',
+ 'wdoc', 'i18n', 'migration'):
if isdir(dname):
data_files.append([join(THIS_CUBE_DIR, dname), listdir(dname)])
# Note: here, you'll need to add subdirectories if you want
# them to be included in the debian package
-