Skip to content

Commit

Permalink
update requirements
Browse files Browse the repository at this point in the history
install perspective after other deps are installed

remove TA lib for now

typo

wrong name

install cmake, wrong version

attempt to install boost

bump qgrid npm package to qgrid2

try sudo

bump arrow version

Repoint to lab

apt install boost

add boost to apt

attempt to install latest cmake

attempt to install latest cmake

remove temp files, build in prod mode
  • Loading branch information
timkpaine committed Jul 1, 2020
1 parent da52d02 commit c1a091d
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 119 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Python training for business analysts and traders.

![GitHub](https://img.shields.io/github/license/jpmorganchase/python-training)
[![Binder](http://mybinder.org/badge_logo.svg)](http://beta.mybinder.org/v2/gh/jpmorganchase/python-training/master)
[![Binder](http://mybinder.org/badge_logo.svg)](http://beta.mybinder.org/v2/gh/jpmorganchase/python-training/master?urlpath=lab)
[![Contact](https://img.shields.io/badge/Contact-Email-lightgrey)](mailto:open_source@jpmorgan.com)

## Overview
Expand Down
5 changes: 4 additions & 1 deletion binder/apt.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
graphviz-dev
cmake
graphviz-dev
libboost-filesystem-dev
sudo
54 changes: 22 additions & 32 deletions binder/postBuild
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
#!/bin/bash
wget https://cmake.org/files/v3.15/cmake-3.15.4-Linux-x86_64.sh -q && mkdir /tmp/cmake && printf "y\nn\n" | sh cmake-3.15.4-Linux-x86_64.sh --prefix=/tmp/cmake > /dev/null && rm -rf cmake-3.15.4-Linux-x86_64.sh
export PATH=/tmp/cmake/bin:$PATH

python3 -m pip install perspective-python==0.5.1

export NODE_OPTIONS=--max-old-space-size=32768

EXTENSIONS="
@jupyter-widgets/jupyterlab-manager@0.38.1
@jupyter-widgets/jupyterlab-sidecar@0.3.0
@finos/perspective-jupyterlab@0.3.1
@jupyterlab/plotly-extension@0.18.2
bqplot@0.4.5
ipyannotate@0.1.0
ipysheet@0.4.2
jupyter-matplotlib@0.3.0
jupyterlab_bokeh@0.6.3
jupyterlab-chart-editor@1.0.0
jupyterlab_iframe@0.1.9
jupyterlab_templates@0.1.14
plotlywidget@0.11.0
qgrid@1.1.1
@jupyter-widgets/jupyterlab-manager@2.0.0
@jupyter-widgets/jupyterlab-sidecar@0.5.0
@bokeh/jupyter_bokeh@2.0.2
@finos/perspective-jupyterlab@0.5.1
@lckr/jupyterlab_variableinspector@0.5.1
bqplot@0.5.13
ipydagred3@0.2.5
ipylab@0.3.0
ipysheet@0.4.4
jupyter-matplotlib@0.7.2
jupyterlab-chart-editor@4.8.2
jupyterlab-plotly@4.8.2
jupyterlab_templates@0.2.5
plotlywidget@4.8.2
qgrid2@1.1.3
"


Expand All @@ -24,29 +30,13 @@ do
echo "Extension failed to install"
done

until jupyter lab build
until jupyter lab build --dev-build=False --minimize=True
do
echo "Extension failed to install"
done

jupyter serverextension enable --py nbdime
jupyter serverextension enable --py jupyterlab_iframe
jupyter serverextension enable --py jupyterlab_autoversion
jupyter serverextension enable --py jupyterlab_celltests
jupyter serverextension enable --py jupyterlab_commands
jupyter serverextension enable --py jupyterlab_email
jupyter serverextension enable --py jupyterlab
jupyter serverextension enable --py jupyterlab_templates
jupyter serverextension enable --py nbresuse


python3 -m spacy download en_core_web_sm


# wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
# tar xfzv ta-lib-0.4.0-src.tar.gz
# cd ta-lib
# ./configure --prefix=/usr
# make
# make install
# pip3 install TA-lib
# sudo make install
142 changes: 57 additions & 85 deletions binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,85 +1,57 @@
aiohttp>=3.5.4
aiostream>=0.3.1
alphalens>=0.3.4+3.g399d89d.dirty
altair>=2.3.0
arctic>=1.73.0
beautifulsoup4>=4.6.3
bintrees>=2.0.4
bokeh>=1.0.2
bqplot>=0.11.2
ccxt>=1.18.529
coinmarketcap>=5.0.3
cufflinks>=0.15
cyjupyter>=0.2.0
datashader>=0.6.8
ipdb>=0.11
ipyannotate>=0.1.0b0
ipydatawidgets>=4.0.0
ipymarkup>=0.3.0
ipympl>=0.2.1
ipysheet==0.4.2
ipysigma>=0.5.0
ipyvolume>=0.5.1
ipywebrtc>=0.4.3
ipywidgets>=7.4.2
jupyter-tensorboard>=0.1.8
jupyterlab==0.35.6
jupyterlab-autoversion>=0.0.4
jupyterlab-celltests>=0.0.8
jupyterlab-commands>=0.0.4
jupyterlab-email>=0.1.1
jupyterlab-git>=0.5.0
jupyterlab-iframe>=0.0.11
jupyterlab-quickopen>=0.1.0
jupyterlab-server>=0.2.0
jupyterlab-snippets>=0.2.4
jupyterlab-templates>=0.0.7
matplotlib>=3.0.2
mimesis>=3.0.0
missingno>=0.4.2
nbconvert>=5.5.0
nbdime>=1.0.4
nbformat>=4.4.0
nbresuse>=0.3.0
nbstripout>=0.3.3
nbval>=0.9.1
nltk>=3.4
numba>=0.41.0
numpy>=1.16.3
openpyxl>=2.5.12
pandas>=0.24.2
pandas-datareader>=0.7.0
pandoc>=1.0.2
papermill>=0.16.2
pendulum>=1.4.4
percy>=2.0.1
perspective-python==0.1.10
plotly==3.10.0
psycopg2>=2.7.6.1
pyEX>=0.1.14
pyfolio>=0.9.0
pylantern>=0.1.2
pymongo>=3.7.2
python-nvd3>=0.15.0
pythreejs>=2.0.2
PyWavelets>=1.0.1
qgrid>=1.1.1
Quandl>=3.4.5
quantecon>=0.4.3
QuantLib-Python>=1.13
requests>=2.22.0
scikit-learn>=0.20.3
scipy>=1.2.1
seaborn>=0.9.0
sidecar>=0.2.0
spacy>=2.1.4
SQLAlchemy>=1.2.15
sseclient>=0.0.22
statsmodels>=0.9.0
sympy>=1.3
tqdm>=4.28.1
trading-calendars>=1.6.1
tributary>=0.0.4
vapeplot>=0.0.8
xgboost>=0.72
XlsxWriter>=1.1.2
altair==4.1.0
beautifulsoup4==4.9.1
bokeh==2.0.2
bqplot==0.12.7
ccxt==1.21.22
chart-studio==1.1.0
dash==1.12.0
dash-core-components==1.10.0
dash-html-components==1.0.3
dash-renderer==1.4.1
dash-table==4.7.0
datashader==0.10.0
Faker==2.0.0
holoviews==1.12.5
hvplot==0.4.0
ipydagred3==0.2.5
ipylab==0.3.0
ipyleaflet==0.12.4
ipympl==0.5.6
ipysheet==0.4.4
ipywidgets==7.5.1
jupyterlab==2.1.5
jupyterlab-nbconvert-nocode==0.1.0
jupyterlab-templates==0.2.4
matplotlib==3.1.1
mimesis==3.3.0
nbdime==2.0.0
nbresuse==0.3.6
numba==0.46.0
numpy==1.18.3
openpyxl==3.0.3
pandas==0.25.3
pandoc==1.0.2
panel==0.7.0
papermill==2.1.1
plotly==4.8.2
plotly-express==0.4.1
pyarrow==0.16.0
pyviz-comms==0.7.2
qgrid==1.3.1
requests==2.23.0
scikit-image==0.16.2
scikit-learn==0.21.3
scipy==1.4.1
seaborn==0.10.1
sidecar==0.4.0
spacy==2.2.4
SQLAlchemy==1.3.6
statsmodels==0.10.1
sympy==1.5.1
tensorboard==2.2.2
tensorboard-plugin-wit==1.6.0.post3
tensorflow==2.2.0
tensorflow-estimator==2.2.0
vapeplot==0.0.8
vega==2.5.0
voila==0.1.21

0 comments on commit c1a091d

Please sign in to comment.