distutils-r1.eclasS: Set "home =" in pyvenv.cfg

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-05-08 20:11:12 +02:00
parent 5fcdcdc95d
commit 7750d0dd14

View File

@@ -2030,7 +2030,10 @@ _distutils-r1_post_python_compile() {
ln -s "${PYTHON}" "${bindir}/${EPYTHON}" || die
ln -s "${EPYTHON}" "${bindir}/python3" || die
ln -s "${EPYTHON}" "${bindir}/python" || die
# python3.14t seems to require "home" being present
# (though it does not seem to care about the actual value)
cat > "${bindir}"/pyvenv.cfg <<-EOF || die
home = ${EPREFIX}/usr/bin
include-system-site-packages = true
EOF