mirror of
https://github.com/jamieahelmke/ansible-quickstart.git
synced 2026-01-02 14:42:11 +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",
|
"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 ---
|
||||||
|
|||||||
@@ -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."
|
||||||
Reference in New Issue
Block a user