Skip to content

Commit

Permalink
Add requirements to oscillator tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasVin committed Aug 19, 2024
1 parent bb17d2c commit fa820d0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oscillator/mass-left-python/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
numpy >1, <2
pyprecice~=3.0
4 changes: 4 additions & 0 deletions oscillator/mass-left-python/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env bash
set -e -u

python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

Expand Down
2 changes: 2 additions & 0 deletions oscillator/mass-right-python/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
numpy >1, <2
pyprecice~=3.0
4 changes: 4 additions & 0 deletions oscillator/mass-right-python/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env bash
set -e -u

python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

Expand Down

0 comments on commit fa820d0

Please sign in to comment.