164 'schemas/base.py', |
163 'schemas/base.py', |
165 ) |
164 ) |
166 |
165 |
167 OVERRIDEN_FILES = ( |
166 OVERRIDEN_FILES = ( |
168 ('toolsutils.py', 'toolsutils.py'), |
167 ('toolsutils.py', 'toolsutils.py'), |
169 ('mttransforms.py', 'common/mttransforms.py'), |
168 ('mttransforms.py', 'mttransforms.py'), |
170 ('server__init__.py', 'server/__init__.py'), |
169 ('server__init__.py', 'server/__init__.py'), |
171 ('rqlannotation.py', 'server/rqlannotation.py'), |
170 ('rqlannotation.py', 'server/rqlannotation.py'), |
172 ) |
171 ) |
173 |
172 |
174 |
173 |
208 target = join(appldir, 'cubicweb', fpath) |
207 target = join(appldir, 'cubicweb', fpath) |
209 if not exists(split(target)[0]): |
208 if not exists(split(target)[0]): |
210 create_dir(split(target)[0]) |
209 create_dir(split(target)[0]) |
211 create_symlink(join(CW_SOFTWARE_ROOT, fpath), target) |
210 create_symlink(join(CW_SOFTWARE_ROOT, fpath), target) |
212 # overriden files |
211 # overriden files |
213 create_init_file(join(appldir, 'cubicweb/common'), 'cubicweb.common') |
|
214 for fpath, subfpath in OVERRIDEN_FILES: |
212 for fpath, subfpath in OVERRIDEN_FILES: |
215 create_symlink(join(CW_SOFTWARE_ROOT, 'goa', 'overrides', fpath), |
213 create_symlink(join(CW_SOFTWARE_ROOT, 'goa', 'overrides', fpath), |
216 join(appldir, 'cubicweb', subfpath)) |
214 join(appldir, 'cubicweb', subfpath)) |
217 # link every supported components |
215 # link every supported components |
218 packagesdir = join(appldir, 'cubes') |
216 packagesdir = join(appldir, 'cubes') |