We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c780bf4 commit 22e212bCopy full SHA for 22e212b
python/setup.py
@@ -247,6 +247,7 @@ def update_symlink(link_path, source_path):
247
shutil.rmtree(link_path)
248
249
print(f"creating symlink: {link_path} -> {source_path}", file=sys.stderr)
250
+ link_path.absolute().parent.mkdir(parents=True, exist_ok=True) # Ensure link's parent directory exists
251
link_path.symlink_to(source_path, target_is_directory=True)
252
253
0 commit comments