mirror of
https://github.com/jamieahelmke/ansible-quickstart.git
synced 2026-01-02 06:32:12 +01:00
Reconvigured venv path; better compatibility to IDEs like VSCode
This commit is contained in:
2
setup.py
2
setup.py
@@ -13,7 +13,7 @@ REQUIRED_PATHS = [
|
||||
"requirements.txt",
|
||||
"start_venv.sh",
|
||||
]
|
||||
VENV_DIR = "env/venv"
|
||||
VENV_DIR = ".venv"
|
||||
COLLECTIONS_DIR = "ansible/lib/collections"
|
||||
|
||||
# --- Helper functions ---
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
source "$DIR/env/venv/bin/activate"
|
||||
echo "Virtual environment activated. Type 'deactivate' to exit."
|
||||
source "$DIR/.venv/bin/activate"
|
||||
echo "Virtual environment activated. Type 'deactivate' to exit."
|
||||
|
||||
Reference in New Issue
Block a user