import os
from subprocess import check_output


BAM_PATH = '/AppleInternal/Library/Frameworks/BluetoothAutomation.framework'
BAM_VERSION = check_output(['defaults', 'read', os.path.join(BAM_PATH, 'Versions/A/Resources/version.plist'), 'CFBundleShortVersionString'])