[skel] enable wdoc support in new cubes stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 18 May 2010 14:25:37 +0200
branchstable
changeset 5536 b7fba311e8d0
parent 5535 b32b8f56192a
child 5537 2889091bd1bf
[skel] enable wdoc support in new cubes
skeleton/MANIFEST.in
skeleton/__pkginfo__.py.tmpl
--- a/skeleton/MANIFEST.in	Tue May 18 14:24:04 2010 +0200
+++ b/skeleton/MANIFEST.in	Tue May 18 14:25:37 2010 +0200
@@ -2,3 +2,4 @@
 include */*.py
 recursive-include data external_resources *.gif *.png *.css *.ico *.js
 recursive-include i18n *.pot *.po
+recursive-include wdoc *
--- a/skeleton/__pkginfo__.py.tmpl	Tue May 18 14:24:04 2010 +0200
+++ b/skeleton/__pkginfo__.py.tmpl	Tue May 18 14:25:37 2010 +0200
@@ -34,7 +34,7 @@
     [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', '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