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 f00c88c commit 0fd1eb1Copy full SHA for 0fd1eb1
maestral_cocoa/__init__.py
@@ -1,27 +1,4 @@
1
# -*- coding: utf-8 -*-
2
-import os.path as osp
3
-from ctypes import util
4
-
5
6
-# patch find_library to work around library
7
-# discovery issue on macOS Big Sur https://bugs.python.org/issue41100
8
9
-def _find_library(name):
10
- paths = [
11
- f'/System/Library/Frameworks/{name}.framework/{name}',
12
- f'/usr/lib/lib{name}.dylib',
13
- f'{name}.dylib',
14
- ]
15
16
- for path in paths:
17
- if osp.islink(path):
18
- return path
19
20
- return None
21
22
23
-util.find_library = _find_library
24
25
26
__author__ = 'Sam Schott'
27
__version__ = '1.2.0.dev1'
0 commit comments