pip to poetry

This commit is contained in:
Pratyush Shukla
2023-09-05 19:10:33 +05:30
parent 558cc0c916
commit 159ce741c6
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ for /d /r %%d in (openbb_*) do (
echo Installing !dirname!
pushd "!parentdir!"
"%PYTHON_PATH%" -m pip install -U -e . >NUL 2>&1
"%PYTHON_PATH%" -m poetry install -C >NUL 2>&1
popd
)

View File

@@ -6,7 +6,7 @@ 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}" >/dev/null 2>&1
"$1" -m poetry install -C "${PWD}" >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Script terminated!"
exit 1