Skip to content

Commit

Permalink
fix: (follow-up) use original interpreter path as 'home' value in pyv…
Browse files Browse the repository at this point in the history
…env.cfg

This is a follow-up of aspect-build#226 to fix another place.
  • Loading branch information
honnix authored Nov 30, 2023
1 parent e5c2112 commit 25dc9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/private/venv/venv.tmpl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ if [ "$USE_MANIFEST_PATH" = true ]; then
ln -snf "${VBIN_LOCATION}/python" "${VBIN_LOCATION}/python${PYTHON_SYMLINK_VERSION_SUFFIX}"

PYTHON_VERSION=$(${PYTHON} -c 'import platform; print(platform.python_version())')
echo "home = ${VBIN_LOCATION}" > "${PYVENV_CFG}"
echo "home = ${PYTHON_BIN_DIR}" > "${PYVENV_CFG}"
echo "include-system-site-packages = false" >> "${PYVENV_CFG}"
echo "version = ${PYTHON_VERSION}" >> "${PYVENV_CFG}"

Expand Down

0 comments on commit 25dc9c7

Please sign in to comment.