Skip to content

Commit

Permalink
print the copy of each runtime file
Browse files Browse the repository at this point in the history
  • Loading branch information
LiangliangNan committed Jan 25, 2025
1 parent 482a8b2 commit 9d988d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/helper/copy_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ def copy_dependencies(target_binary: str, target_binary_dir: str, destination: s
# Copy the dependency to the destination directory
try:
shutil.copy2(dep_path, destination)
# Print the copy operation
print(f"{dep_path} -> {os.path.join(destination, os.path.basename(dep_path))}")
# Write dependency path to the file (only if not already written)
if dep_path not in resolved_dependencies:
with open(dependencies_file_path, 'a') as dependencies_file:
Expand Down

0 comments on commit 9d988d0

Please sign in to comment.