🐧🍎 don't add poetry to path, new installer

This commit is contained in:
Ondrej Samohel 2021-07-09 12:38:19 +02:00 committed by Ondřej Samohel
parent f12c117f86
commit 43f7f8276a
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
9 changed files with 19 additions and 55 deletions

View file

@ -79,11 +79,9 @@ main () {
_inside_openpype_tool="1"
# make sure Poetry is in PATH
if [[ -z $POETRY_HOME ]]; then
export POETRY_HOME="$openpype_root/.poetry"
fi
export PATH="$POETRY_HOME/bin:$PATH"
pushd "$openpype_root" > /dev/null || return > /dev/null
@ -97,7 +95,7 @@ main () {
fi
echo -e "${BIGreen}>>>${RST} Generating zip from current sources ..."
poetry run python3 "$openpype_root/start.py" settings --dev
"$POETRY_HOME/bin/poetry" run python3 "$openpype_root/start.py" settings --dev
}
main