Fix packaging of resource files
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 08 Feb 2017 16:54:15 +0100
changeset 118 c8365d3bfd84
parent 117 445907715dd2
child 119 5a38bda4898c
Fix packaging of resource files those were included in the sdist but not installed along with the code.
__pkginfo__.py
--- a/__pkginfo__.py	Wed Feb 15 11:40:58 2017 +0100
+++ b/__pkginfo__.py	Wed Feb 08 16:54:15 2017 +0100
@@ -9,7 +9,7 @@
 modname = 'sherpa'
 distname = 'cubicweb-sherpa'
 
-numversion = (0, 1, 0)
+numversion = (0, 1, 1)
 version = '.'.join(str(num) for num in numversion)
 
 license = 'GPL'
@@ -51,7 +51,8 @@
 ]
 # check for possible extended cube layout
 for dname in ('entities', 'views', 'sobjects', 'hooks', 'schema', 'data',
-              'wdoc', 'i18n', 'migration'):
+              'wdoc', 'i18n', 'migration',
+              'views/templates', 'data/fonts/lovelo', 'data/fonts/Open_Sans', 'data/images'):
     if isdir(dname):
         data_files.append([join(THIS_CUBE_DIR, dname), listdir(dname)])
 # Note: here, you'll need to add subdirectories if you want