forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci_install.sh
36 lines (29 loc) · 867 Bytes
/
ci_install.sh
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
#!/bin/bash
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
set -ex
set -o pipefail
# Building should work without yarn installed globally, so uninstall the
# global yarn installed by default.
sudo rm -rf $(which yarn)
! yarn
# create jupyter base dir (needed for config retrieval)
mkdir ~/.jupyter
# Install and enable the server extension
pip install -q --upgrade pip
pip --version
pip install -e ".[test]"
jlpm versions
jlpm config current
jupyter serverextension enable --py jupyterlab
if [[ $GROUP == integrity ]]; then
pip install notebook==4.3.1
fi
if [[ $GROUP == nonode ]]; then
# Build the wheel
python setup.py bdist_wheel
# Remove NodeJS, twice to take care of system and locally installed node versions.
sudo rm -rf $(which node)
sudo rm -rf $(which node)
! node
fi