Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions flit/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ def install_data_dir(self, target_data_dir):
rel_path = os.path.relpath(src_path, self.ini_info.data_directory)
dst_path = os.path.join(target_data_dir, rel_path)
os.makedirs(os.path.dirname(dst_path), exist_ok=True)
pathlib.Path(dst_path, missing_ok=True)
if self.symlink:
os.symlink(os.path.realpath(src_path), dst_path)
else:
Expand Down