| 21 | it.create_directories = create_directories |
| 22 | |
| 23 | def copy_app(): |
| 24 | configs = ['Debug','Release']; |
| 25 | for config in configs: |
| 26 | path_to_objects = os.path.join(it.path_to_objects,config) |
| 27 | objFolder = os.walk(path_to_objects) |
| 28 | path_to_app = os.path.join(it.path_to_app,config) |
| 29 | for address, dirs, files in objFolder: |
| 30 | for file in files: |
| 31 | if ((file.endswith('.dll') and not any(map(file.startswith, excluded_modules)))): |
| 32 | src = os.path.join(address,file) |
| 33 | dst = os.path.join(path_to_app,file) |
| 34 | shutil.copyfile(src, dst) |
| 35 | |
| 36 | it.copy_app = copy_app |
| 37 | |