From bc4cbf87f09455c18a716b9af4b9c428bafdd642 Mon Sep 17 00:00:00 2001 From: James Santucci Date: Wed, 17 May 2017 20:54:27 -0400 Subject: [PATCH] Fix install for Mac OS --- scripts/update | 11 +---------- setup.py | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/scripts/update b/scripts/update index 2bc5070..c055150 100755 --- a/scripts/update +++ b/scripts/update @@ -14,16 +14,7 @@ pip install jupyter notebook jupyter nbextension enable --py --sys-prefix widgetsnbextension pip install -e git+https://github.com/azavea/ipyleaflet#egg=9cfd238 -# MacOS has some sort of messy openSSL incompatibility -# See https://github.com/pyca/cryptography/issues/3489 -if [ "$(uname -s)" == "Darwin" ]; then - pip install cryptography \ - --global-option=build_ext \ - --global-option="-L/usr/local/opt/openssl/lib" \ - --global-option="-I/usr/local/opt/openssl/include" -fi - jupyter nbextension install --py --symlink --sys-prefix ipyleaflet jupyter nbextension enable --py --sys-prefix ipyleaflet -python setup.py develop +pip install -e . diff --git a/setup.py b/setup.py index 6e8e777..ecee38c 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ ], extras_require={ 'notebook': [ - 'notebook == 4.0.0' + 'notebook >= 4.0.0' ], 'dev': [], 'test': [],