Skip to content

Commit 0395434

Browse files
committed
Merge bollwyvl/robotkernel
2 parents a77bdf6 + c74adea commit 0395434

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

binder/environment.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: robotkernel
2+
23
channels:
34
- conda-forge
5+
- nodefaults
6+
47
dependencies:
58
- opencv
69
- python >=3.6,<3.9.0a0
7-
- jupyterlab >=2.1.1,<3.0
8-
- nodejs >=11,<12
10+
- jupyterlab >=2.1.1,<2.2
11+
- nodejs >=14,<15
12+
- geckodriver >=0.26.0,<0.27.0
913
- pip
1014
- pip:
1115
- matplotlib==3.1.2

binder/postBuild

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
#!/bin/bash
2-
curl -L https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz > geckodriver.tar.gz
3-
tar -xzf geckodriver.tar.gz -C /srv/conda/bin/
4-
pip install -e .
2+
set -eux
3+
pip install -e . -vv
54
python -m robotkernel.install --sys-prefix
65
jupyter serverextension enable --sys-prefix --py jupyter_starters
7-
cd src/jupyterlab_robotmode && npm install && npm run build && cd ../..
8-
jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build
9-
jupyter labextension install src/jupyterlab_robotmode --no-build
10-
jupyter labextension install @deathbeds/jupyterlab-starters@0.3.0-a0 --no-build
11-
jupyter lab build --minimize=True --dev-build=False --debug
6+
7+
pushd src/jupyterlab_robotmode
8+
npm install
9+
npm run build
10+
jupyter labextension install --no-build $(npm pack)
11+
popd
12+
13+
jupyter labextension install --no-build \
14+
@deathbeds/jupyterlab-starters@0.3.0-a0 \
15+
@jupyter-widgets/jupyterlab-manager
16+
17+
jupyter lab build --minimize=False --debug
18+
19+
jupyter labextension list
20+
1221
mkdir -p .jupyter/jupyter_notebook_config.d
1322
cp src/robotkernel/resources/starter/robotkernel-starter.json .jupyter/jupyter_notebook_config.d

0 commit comments

Comments
 (0)