From 2bac0a25e0bec3ed1ccda498ebf5047c2ece756d Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Tue, 21 Jun 2016 13:28:29 -0500 Subject: [PATCH] install pyobjc dependencies --- packaging/osx/lbry-osx-app/setup_app.py | 8 +++++--- packaging/osx/lbry-osx-app/setup_app.sh | 3 +-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packaging/osx/lbry-osx-app/setup_app.py b/packaging/osx/lbry-osx-app/setup_app.py index f6d2a9145..1fdbe2ab7 100644 --- a/packaging/osx/lbry-osx-app/setup_app.py +++ b/packaging/osx/lbry-osx-app/setup_app.py @@ -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, -) \ No newline at end of file +) diff --git a/packaging/osx/lbry-osx-app/setup_app.sh b/packaging/osx/lbry-osx-app/setup_app.sh index 1403a6d64..68c6ea9f3 100755 --- a/packaging/osx/lbry-osx-app/setup_app.sh +++ b/packaging/osx/lbry-osx-app/setup_app.sh @@ -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"