You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Shawn Yang (Jira)" <ji...@apache.org> on 2020/08/12 07:00:00 UTC
[jira] [Created] (ARROW-9700) [Python] create_library_symlinks
doesn't work in macos
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)