From 649dab0348ce239f19c8dad5fa7cddd9b3d22825 Mon Sep 17 00:00:00 2001 From: jakubknczny Date: Sun, 23 Jan 2022 16:40:14 +0100 Subject: [PATCH] improve venv setup --- random-scripts/venv-setup-helper.sh | 4 ++++ random-scripts/venv-setup.sh | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100755 random-scripts/venv-setup-helper.sh diff --git a/random-scripts/venv-setup-helper.sh b/random-scripts/venv-setup-helper.sh new file mode 100755 index 0000000..a7ad74c --- /dev/null +++ b/random-scripts/venv-setup-helper.sh @@ -0,0 +1,4 @@ +source gpu/bin/activate +pip install pandas ipython +pip install nltk +pip install rapidfuzz diff --git a/random-scripts/venv-setup.sh b/random-scripts/venv-setup.sh index de0d0bf..9840acf 100644 --- a/random-scripts/venv-setup.sh +++ b/random-scripts/venv-setup.sh @@ -3,7 +3,4 @@ apt install python3-pip apt install python3-virtualenv virtualenv -p python3.8 gpu -source gpu/bin/activate -pip install pandas ipython -pip install nltk -pip install rapidfuzz +. ./venv-setup-helper.py