aboutsummaryrefslogtreecommitdiff
path: root/rebuild_venv.sh
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-06-13 22:19:56 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-06-13 22:19:56 +0200
commit1529996662b317b096b823d089451e8a1c0a0d9b (patch)
treea1b76566d7f3fae35587d232c8deb009b5439c0d /rebuild_venv.sh
parent4a299877d9e21f7d5d3ed860a4e8ba0bee74c226 (diff)
downloadautomato-1529996662b317b096b823d089451e8a1c0a0d9b.tar.gz
rebuild_venv.sh for creating Python Virtualenv
Diffstat (limited to 'rebuild_venv.sh')
-rwxr-xr-xrebuild_venv.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/rebuild_venv.sh b/rebuild_venv.sh
new file mode 100755
index 0000000..b040003
--- /dev/null
+++ b/rebuild_venv.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+test -d venv && rm -Rf venv/
+/usr/bin/env python3 -m virtualenv ./venv/
+source ./venv/bin/activate
+pip install --editable .