forked from mtm1186/python-training
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostBuild
42 lines (34 loc) · 1.13 KB
/
postBuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/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@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
"
until jupyter labextension install $EXTENSIONS --no-build
do
echo "Extension failed to install"
done
until jupyter lab build --dev-build=False --minimize=True
do
echo "Extension failed to install"
done
jupyter serverextension enable --py jupyterlab
jupyter serverextension enable --py jupyterlab_templates
jupyter serverextension enable --py nbresuse
python3 -m spacy download en_core_web_sm