Return all the files matching pattern below root dir.
(pattern, root)
| 218 | |
| 219 | |
| 220 | def find_files(pattern, root): |
| 221 | """Return all the files matching pattern below root dir.""" |
| 222 | for dirpath, _, files in os.walk(root): |
| 223 | for filename in fnmatch.filter(files, pattern): |
| 224 | yield os.path.join(dirpath, filename) |
| 225 | |
| 226 | |
| 227 | so_lib_paths = [ |