(target: Path, source: Path, symlink: bool)
| 232 | |
| 233 | |
| 234 | def _copy_file(target: Path, source: Path, symlink: bool) -> None: |
| 235 | target.parent.mkdir(parents=True, exist_ok=True) |
| 236 | if symlink: |
| 237 | target.symlink_to(source) |
| 238 | else: |
| 239 | shutil.copy(source, target) |
| 240 | |
| 241 | |
| 242 | def module_from_string( |