Shawn Yang created ARROW-9700:
---------------------------------
Summary: [Python] create_library_symlinks doesn't work in macos
Key: ARROW-9700
URL: https://issues.apache.org/jira/browse/ARROW-9700
Project: Apache Arrow
Issue Type: Bug
Components: Python
Reporter: Shawn Yang
pyarrow.create_library_symlinks() doesn't create symlink on macos.
```
def get_symlink_path(hard_path):
return '.'.join((hard_path.split('.')[0], 'dylib'))
```
should be changed to
```
def get_symlink_path(hard_path):
splits = hard_path.split('.')
splits.pop(-2)
return '.'.join(splits)
```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)