Lines Matching full:path
12 from pathlib import Path
147 hci_path = Path(dest_lib_path / "hci")
159 src_file_path = Path(src_repo_path / file)
163 shutil.copy(src_file_path, Path(hci_path / file_name))
174 os.remove(os.path.join(root, file))
178 # Src file path to be copied
179 src_file_path = Path(src_repo_path / file)
181 # Extract the relevant part of the path from "dir_name" onwards
184 # Create the full destination path
185 destination_path = os.path.join(dest_lib_path, relative_path)
186 # Create (if does not exist) all directories in the destination path
187 os.makedirs(os.path.dirname(destination_path), exist_ok=True)
188 # Copy the file to the destination path
199 dest_lib_path: library path
204 readme_path = Path(lib_path / "README.rst")
241 temp_source_lib_path = Path(temp_source_path / "lib" / stm32_serie)
264 ("git", "add", "-A", Path(temp_source_lib_path / "*")),
287 if Path(temp_source_lib_path / "README.rst").exists():
288 Path(temp_source_lib_path / "README.rst").unlink()
339 if Path(dest_lib_path / "README.rst").exists():