Reconvigured venv path; better compatibility to IDEs like VSCode

This commit is contained in:
2025-10-31 15:02:02 +01:00
parent e6ac2d3f61
commit 725fc710ce
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ REQUIRED_PATHS = [
"requirements.txt", "requirements.txt",
"start_venv.sh", "start_venv.sh",
] ]
VENV_DIR = "env/venv" VENV_DIR = ".venv"
COLLECTIONS_DIR = "ansible/lib/collections" COLLECTIONS_DIR = "ansible/lib/collections"
# --- Helper functions --- # --- Helper functions ---

View File

@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
DIR="$(cd "$(dirname "$0")" && pwd)" DIR="$(cd "$(dirname "$0")" && pwd)"
source "$DIR/env/venv/bin/activate" source "$DIR/.venv/bin/activate"
echo "Virtual environment activated. Type 'deactivate' to exit." echo "Virtual environment activated. Type 'deactivate' to exit."