(data)
| 721 | return so_ext |
| 722 | |
| 723 | def get_data_files(data): |
| 724 | if is_string(data): |
| 725 | return [data] |
| 726 | sources = data[1] |
| 727 | filenames = [] |
| 728 | for s in sources: |
| 729 | if hasattr(s, '__call__'): |
| 730 | continue |
| 731 | if is_local_src_dir(s): |
| 732 | filenames.extend(list(general_source_files(s))) |
| 733 | elif is_string(s): |
| 734 | if os.path.isfile(s): |
| 735 | filenames.append(s) |
| 736 | else: |
| 737 | print('Not existing data file:', s) |
| 738 | else: |
| 739 | raise TypeError(repr(s)) |
| 740 | return filenames |
| 741 | |
| 742 | def dot_join(*args): |
| 743 | return '.'.join([a for a in args if a]) |
no test coverage detected