From 54cff9bde9d62323988095f790852b41fa895d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Annie=CC=81s?= Date: Wed, 17 Apr 2024 18:13:51 +0200 Subject: [PATCH] new installer for virtual env (cherry picked from commit e9dff205aad3bf9620c673b83800c9e2d586630b) --- .gitignore | 3 ++- install-venv.sh | 5 +++++ requirements.txt | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 install-venv.sh create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index 47409de..154c124 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ *.env pycache* __pycache__* -backup.log* \ No newline at end of file +backup.log* +venv \ No newline at end of file diff --git a/install-venv.sh b/install-venv.sh new file mode 100755 index 0000000..ba776a2 --- /dev/null +++ b/install-venv.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +python3 -m venv venv +source ./venv/bin/activate +pip install -r requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..df7458c --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +requests +python-dotenv