Lines 403-414
Link Here
|
403 |
config.add_data_dir('mayavi/core/lut') |
403 |
config.add_data_dir('mayavi/core/lut') |
404 |
config.add_data_dir('mayavi/tests/data') |
404 |
config.add_data_dir('mayavi/tests/data') |
405 |
config.add_data_dir('mayavi/tests/csv_files') |
405 |
config.add_data_dir('mayavi/tests/csv_files') |
406 |
config.add_data_dir('mayavi/tools/static') |
406 |
config.add_data_dir('mayavi/tools/static/x3d') |
407 |
|
407 |
|
408 |
# Image files. |
408 |
# Image files. |
409 |
for pkgdir in ('mayavi', 'tvtk'): |
409 |
for pkgdir in ('mayavi', 'tvtk'): |
410 |
for root, dirs, files in os.walk(pkgdir): |
410 |
for root, dirs, files in os.walk(pkgdir): |
411 |
if split(root)[-1] == 'images': |
411 |
if (split(root)[-1] == 'images') and files: |
412 |
config.add_data_dir(root) |
412 |
config.add_data_dir(root) |
413 |
|
413 |
|
414 |
# *.ini files. |
414 |
# *.ini files. |