Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9700

[Python] create_library_symlinks doesn't work in macos

    XMLWordPrintableJSON

Details

    Description

      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)

      ```

      Attachments

        Issue Links

          Activity

            People

              Chaokun Yang Shawn Yang
              Chaokun Yang Shawn Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m