Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Fix install for Mac OS #9

Merged
merged 1 commit into from
May 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions scripts/update
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
extras_require={
'notebook': [
'notebook == 4.0.0'
'notebook >= 4.0.0'
],
'dev': [],
'test': [],
Expand Down