Skip to content

Commit 5ef6d96

Browse files
committed
outsource installation with pip to own script
1 parent 8e3b515 commit 5ef6d96

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bin/install-python-packages.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pip install --upgrade cython psutil ipywidgets

bin/ubuntu_install_script.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
echo "Super user authentication required to add packages (you will be \
22
prompted for confirmation)."
33
sudo bash install-ubuntu-packages.sh
4+
sudo bash install-python-packages.sh
45
bash install-fftw.sh
56
bash install-sundials.sh
6-
sudo pip install cython --upgrade
7-
sudo pip install psutil ipywidgets
87
pushd .. > /dev/null
98
make
109

11-
# Adds Fidimag environment variables to profile.d, if they're not already
12-
# there.
10+
# Adds fidimag environment variables to profile.d, if they're not already there.
1311
FIDIMAG_PROFILE_PATH=/etc/profile.d/fidimag.sh
1412
if [ ! -e "$FIDIMAG_PROFILE_PATH" ]; then
1513
echo "Warning: Adding Fidimag to path at $FIDIMAG_PROFILE_PATH."

0 commit comments

Comments
 (0)