Skip to content

Commit ca2c008

Browse files
author
Matt Mackay
authored
fix: use original interpreter path as 'home' value in pyvenv.cfg (#232)
This is a follow-up of #226 to fix another place.
1 parent 5dd7117 commit ca2c008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/private/venv/venv.tmpl.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ if [ "$USE_MANIFEST_PATH" = true ]; then
139139
ln -snf "${VBIN_LOCATION}/python" "${VBIN_LOCATION}/python${PYTHON_SYMLINK_VERSION_SUFFIX}"
140140

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

0 commit comments

Comments
 (0)