[gtk-osx] Update pyenv and ensure it's initialized in the pipenv environment
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-osx] Update pyenv and ensure it's initialized in the pipenv environment
- Date: Thu, 15 Apr 2021 19:26:44 +0000 (UTC)
commit 7a3367cda97aac2f88682f94f719c92f508b8158
Author: John Ralls <jralls ceridwen us>
Date: Thu Apr 15 12:26:17 2021 -0700
Update pyenv and ensure it's initialized in the pipenv environment
Restores automatically building the needed python3 for the virtenv.
gtk-osx-setup.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/gtk-osx-setup.sh b/gtk-osx-setup.sh
index 2457c4aa..1e944f4f 100755
--- a/gtk-osx-setup.sh
+++ b/gtk-osx-setup.sh
@@ -80,7 +80,11 @@ if test ! -x "$PYENV_INSTALL_ROOT/libexec/pyenv"; then
if test -d "$PYENV_INSTALL_ROOT"; then
rm -rf "$PYENV_INSTALL_ROOT";
fi
- git clone $GITHUB/pyenv/pyenv.git "$PYENV_INSTALL_ROOT"
+ git clone $GITHUB/pyenv/pyenv.git "$PYENV_INSTALL_ROOT"
+else
+ pushd "$PYENV_INSTALL_ROOT"
+ git pull
+ popd
fi
if test ! -x "$DEVPREFIX/bin/pyenv" ; then
@@ -163,6 +167,7 @@ export DEV_SRC_ROOT="$DEV_SRC_ROOT"
export PYENV_ROOT="$PYENV_ROOT"
export PIP_CONFIG_DIR="$PIP_CONFIG_DIR"
export LANG=C
+eval "$(pyenv init -)"
EOF
cat <<EOF > "$DEVPREFIX/bin/jhbuild"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]