equal
deleted
inserted
replaced
56 |
56 |
57 if environ.get('APYCOT_ROOT'): |
57 if environ.get('APYCOT_ROOT'): |
58 # --home install |
58 # --home install |
59 pydir = 'python' |
59 pydir = 'python' |
60 else: |
60 else: |
61 pydir = join('python2.4', 'site-packages') |
61 pydir = join('python2.4', 'site-packages')* |
|
62 |
|
63 include_dirs = ['skeleton'] |
62 try: |
64 try: |
63 data_files = [ |
65 data_files = [ |
64 # common data |
66 # common data |
65 #[join('share', 'cubicweb', 'entities'), |
67 #[join('share', 'cubicweb', 'entities'), |
66 # [join(entities_dir, filename) for filename in listdir(entities_dir)]], |
68 # [join(entities_dir, filename) for filename in listdir(entities_dir)]], |
84 # XXX: .pt install should be handled properly in a near future version |
86 # XXX: .pt install should be handled properly in a near future version |
85 [join('lib', pydir, 'cubicweb', 'web', 'views'), |
87 [join('lib', pydir, 'cubicweb', 'web', 'views'), |
86 [join(views_dir, fname) for fname in listdir(views_dir) if fname.endswith('.pt')]], |
88 [join(views_dir, fname) for fname in listdir(views_dir) if fname.endswith('.pt')]], |
87 [join('share', 'cubicweb', 'cubes', 'shared', 'i18n'), |
89 [join('share', 'cubicweb', 'cubes', 'shared', 'i18n'), |
88 [join(i18n_dir, fname) for fname in listdir(i18n_dir)]], |
90 [join(i18n_dir, fname) for fname in listdir(i18n_dir)]], |
|
91 # skeleton |
|
92 |
89 ] |
93 ] |
90 except OSError: |
94 except OSError: |
91 # we are in an installed directory, don't care about this |
95 # we are in an installed directory, don't care about this |
92 pass |
96 pass |