diff --git a/scripts/dev_setup.ps1 b/scripts/dev_setup.ps1 index 50a52b91..19876517 100644 --- a/scripts/dev_setup.ps1 +++ b/scripts/dev_setup.ps1 @@ -9,7 +9,10 @@ pip install -e ./libraries/microsoft-agents-copilotstudio-client/ --config-setti pip install -e ./libraries/microsoft-agents-hosting-aiohttp/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-hosting-core/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-hosting-teams/ --config-settings editable_mode=compat +pip install -e ./libraries/microsoft-agents-hosting-msteams/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-hosting-dialogs/ --config-settings editable_mode=compat +pip install -e ./libraries/microsoft-agents-hosting-fastapi/ --config-settings editable_mode=compat +pip install -e ./libraries/microsoft-agents-hosting-slack/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-storage-blob/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-storage-cosmos/ --config-settings editable_mode=compat diff --git a/scripts/dev_setup.sh b/scripts/dev_setup.sh index 3f550032..b49ce575 100644 --- a/scripts/dev_setup.sh +++ b/scripts/dev_setup.sh @@ -1,6 +1,17 @@ -python -m venv venv +if command -v python >/dev/null 2>&1 +then + PYTHON=python +elif command -v python3 >/dev/null 2>&1 +then + PYTHON=python3 +else + echo "Error: neither 'python' nor 'python3' was found on PATH." >&2 + return 1 2>/dev/null || exit 1 +fi -. .\venv\bin\activate +$PYTHON -m venv venv + +. ./venv/bin/activate pip install -e ./libraries/microsoft-agents-activity/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-authentication-msal/ --config-settings editable_mode=compat @@ -9,7 +20,10 @@ pip install -e ./libraries/microsoft-agents-copilotstudio-client/ --config-setti pip install -e ./libraries/microsoft-agents-hosting-aiohttp/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-hosting-core/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-hosting-teams/ --config-settings editable_mode=compat +pip install -e ./libraries/microsoft-agents-hosting-msteams/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-hosting-dialogs/ --config-settings editable_mode=compat +pip install -e ./libraries/microsoft-agents-hosting-fastapi/ --config-settings editable_mode=compat +pip install -e ./libraries/microsoft-agents-hosting-slack/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-storage-blob/ --config-settings editable_mode=compat pip install -e ./libraries/microsoft-agents-storage-cosmos/ --config-settings editable_mode=compat