Merge pull request #42 from lbryio/osx-pyobjc

Install pyobjc dependencies
This commit is contained in:
Job Evers‐Meltzer 2016-06-21 14:45:43 -05:00 committed by GitHub
commit 30713cc21d
2 changed files with 6 additions and 5 deletions

View file

@ -16,8 +16,10 @@ OPTIONS = {
'CFBundleIdentifier': 'io.lbry.LBRY',
'LSUIElement': True,
},
'packages': ['lbrynet', 'lbryum', 'requests', 'unqlite', 'certifi',
'pkg_resources', 'json', 'jsonrpc', 'seccure',],
'packages': [
'lbrynet', 'lbryum', 'requests', 'unqlite', 'certifi',
'pkg_resources', 'json', 'jsonrpc', 'seccure',
],
}
@ -26,4 +28,4 @@ setup(
app=APP,
options={'py2app': OPTIONS},
data_files=DATA_FILES,
)
)

View file

@ -38,8 +38,7 @@ codesign -s "${LBRY_DEVELOPER_ID}" -f "${DEST}/dist/LBRYURIHandler.app/Contents/
codesign --deep -s "${LBRY_DEVELOPER_ID}" -f "${DEST}/dist/LBRYURIHandler.app/Contents/MacOS/LBRYURIHandler"
codesign -vvvv "${DEST}/dist/LBRYURIHandler.app"
# why isn't certifi installed automatically by setup_app.py?
pip install certifi
pip install certifi pyobjc-core pyobjc-framework-Cocoa pyobjc-framework-CFNetwork
python setup_app.py py2app
echo "Moving in correct libgmp"