mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-10-01 07:40:44 +00:00
fix ssl handshake error
This commit is contained in:
parent
46412cb4e5
commit
61f00be342
1 changed files with 7 additions and 7 deletions
|
@ -48,16 +48,13 @@ fi
|
||||||
pip install dmgbuild==1.1.0
|
pip install dmgbuild==1.1.0
|
||||||
export PATH=${PATH}:/Library/Frameworks/Python.framework/Versions/2.7/bin
|
export PATH=${PATH}:/Library/Frameworks/Python.framework/Versions/2.7/bin
|
||||||
|
|
||||||
pip install jsonrpc certifi
|
# pyopenssl is needed because OSX ships an old version of openssl by default
|
||||||
|
# and python will use it without pyopenssl
|
||||||
# the default py2app (v0.9) has a bug that is fixed in the head of /metachris/py2app
|
pip install PyOpenSSL jsonrpc certifi
|
||||||
pip install git+https://github.com/metachris/py2app
|
|
||||||
|
|
||||||
NAME=`python setup.py --name`
|
NAME=`python setup.py --name`
|
||||||
VERSION=`python setup.py -V`
|
VERSION=`python setup.py -V`
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
# not totally sure if pyOpenSSl is needed (JIE)
|
|
||||||
pip install pyOpenSSL
|
|
||||||
|
|
||||||
pip install pylint
|
pip install pylint
|
||||||
pylint -E --disable=inherit-non-class --disable=no-member --ignored-modules=distutils \
|
pylint -E --disable=inherit-non-class --disable=no-member --ignored-modules=distutils \
|
||||||
|
@ -77,7 +74,10 @@ 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 --deep -s "${LBRY_DEVELOPER_ID}" -f "${DEST}/dist/LBRYURIHandler.app/Contents/MacOS/LBRYURIHandler"
|
||||||
codesign -vvvv "${DEST}/dist/LBRYURIHandler.app"
|
codesign -vvvv "${DEST}/dist/LBRYURIHandler.app"
|
||||||
|
|
||||||
python setup_app.py py2app
|
# py2app will skip _cffi_backend without explicitly including it
|
||||||
|
# and without this, we will get SSL handshake errors when connecting
|
||||||
|
# to bittrex
|
||||||
|
python setup_app.py py2app -i _cffi_backend
|
||||||
|
|
||||||
echo "Removing i386 libraries"
|
echo "Removing i386 libraries"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue