mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-28 09:58:08 -07:00
dev-python/virtualenvwrapper: get absolute path for python executable
* Using the absolute path avoid issues when going inside the venv Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
This commit is contained in:
committed by
Matthew Thode
parent
0b0f69b88d
commit
0c64ab06a4
@@ -51,7 +51,7 @@ src_prepare() {
|
||||
|
||||
# specify default python interpeter to align with PYTHON_SINGLE_TARGET
|
||||
sed -i -e \
|
||||
"s|\(_virtualenvwrapper_python_executable=\"\)\$(.*)\(\"\)|\1${EPYTHON}\2|" \
|
||||
"s|\(_virtualenvwrapper_python_executable=\"\$(\).\w\((\"\)|\1command -v ${EPYTHON}\2|" \
|
||||
virtualenvwrapper.sh || die
|
||||
|
||||
# remove tests which require an internet connection
|
||||
Reference in New Issue
Block a user