equal
deleted
inserted
replaced
17 long_desc = '''%(longdesc)s''' |
17 long_desc = '''%(longdesc)s''' |
18 |
18 |
19 from os import listdir as _listdir |
19 from os import listdir as _listdir |
20 from os.path import join, isdir |
20 from os.path import join, isdir |
21 |
21 |
22 web = '' |
22 web = 'http://www.cubicweb.org/project/%s' % distname |
23 |
23 |
24 pyversions = ['2.4'] |
24 pyversions = ['2.4'] |
25 |
25 |
26 #from cubicweb.devtools.pkginfo import get_distutils_datafiles |
26 #from cubicweb.devtools.pkginfo import get_distutils_datafiles |
27 CUBES_DIR = join('share', 'cubicweb', 'cubes') |
27 CUBES_DIR = join('share', 'cubicweb', 'cubes') |
37 data_files = [ |
37 data_files = [ |
38 # common files |
38 # common files |
39 [THIS_CUBE_DIR, [fname for fname in glob('*.py') if fname != 'setup.py']], |
39 [THIS_CUBE_DIR, [fname for fname in glob('*.py') if fname != 'setup.py']], |
40 ] |
40 ] |
41 # check for possible extended cube layout |
41 # check for possible extended cube layout |
42 for dirname in ('entities', 'views', 'sobjects', 'schema', 'data', 'i18n', 'migration'): |
42 for dirname in ('entities', 'views', 'sobjects', 'hooks', 'schema', 'data', 'i18n', 'migration'): |
43 if isdir(dirname): |
43 if isdir(dirname): |
44 data_files.append([join(THIS_CUBE_DIR, dirname), listdir(dirname)]) |
44 data_files.append([join(THIS_CUBE_DIR, dirname), listdir(dirname)]) |
45 # Note: here, you'll need to add subdirectories if you want |
45 # Note: here, you'll need to add subdirectories if you want |
46 # them to be included in the debian package |
46 # them to be included in the debian package |
47 except OSError: |
47 except OSError: |