__pkginfo__.py
changeset 265 97361ddaf342
parent 264 6eb0725d509d
child 279 81be37e89801
equal deleted inserted replaced
264:6eb0725d509d 265:97361ddaf342
    36 from os.path import join, isdir
    36 from os.path import join, isdir
    37 import glob
    37 import glob
    38 
    38 
    39 scripts = [s for s in glob.glob(join('bin', 'cubicweb-*'))
    39 scripts = [s for s in glob.glob(join('bin', 'cubicweb-*'))
    40            if not s.endswith('.bat')]
    40            if not s.endswith('.bat')]
    41 include_dirs = [join('common', 'test', 'data'),
    41 include_dirs = [join('test', 'data'),
       
    42                 join('common', 'test', 'data'),
    42                 join('server', 'test', 'data'),
    43                 join('server', 'test', 'data'),
    43                 join('web', 'test', 'data'),
    44                 join('web', 'test', 'data'),
    44                 join('devtools', 'test', 'data'),]
    45                 join('devtools', 'test', 'data'),
       
    46                 'skeleton']
    45 
    47 
    46 
    48 
    47 entities_dir = 'entities'
    49 entities_dir = 'entities'
    48 schema_dir = 'schemas'
    50 schema_dir = 'schemas'
    49 sobjects_dir = 'sobjects'
    51 sobjects_dir = 'sobjects'
    56 
    58 
    57 if environ.get('APYCOT_ROOT'):
    59 if environ.get('APYCOT_ROOT'):
    58     # --home install
    60     # --home install
    59     pydir = 'python'
    61     pydir = 'python'
    60 else:
    62 else:
    61     pydir = join('python2.4', 'site-packages')*
    63     pydir = join('python2.4', 'site-packages')
    62 
    64 
    63 include_dirs = ['skeleton']
       
    64 try:
    65 try:
    65     data_files = [
    66     data_files = [
    66         # common data
    67         # common data
    67         #[join('share', 'cubicweb', 'entities'),
    68         #[join('share', 'cubicweb', 'entities'),
    68         # [join(entities_dir, filename) for filename in listdir(entities_dir)]],
    69         # [join(entities_dir, filename) for filename in listdir(entities_dir)]],