mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-02 07:23:25 +00:00
15 lines
431 B
Bash
Executable File
Vendored
15 lines
431 B
Bash
Executable File
Vendored
#!/bin/bash
|
|
|
|
# Finds the current python executable
|
|
PYTHON_EXEC=$(which python)
|
|
|
|
# Install all openbb sdk (core+provider), extensions and providers in editable mode
|
|
find extensions providers sdk -type f -name "pyproject.toml" -execdir sh -c '
|
|
echo "Installing $(basename "$PWD")..."
|
|
"$1" -m pip install -U -e "${PWD}"
|
|
if [ $? -ne 0 ]; then
|
|
echo "Script terminated!"
|
|
exit 1
|
|
fi
|
|
' _ "$PYTHON_EXEC" {} +
|