mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-22 17:28:58 +00:00
8 lines
244 B
Python
8 lines
244 B
Python
import os
|
|
import sys
|
|
|
|
|
|
# On macOS ensure libraries such as libdiscid.dylib get loaded from app bundle
|
|
os.environ['DYLD_FALLBACK_LIBRARY_PATH'] = '%s:%s' % (
|
|
os.path.dirname(sys.executable), os.environ.get('DYLD_FALLBACK_LIBRARY_PATH', ''))
|