Skip to content

Commit 6ac0888

Browse files
author
3np
committed
install: actually install in venv
1 parent 9aa7168 commit 6ac0888

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

install.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,14 @@ joinmarket_install ()
424424
reqs+=',test'
425425
fi
426426

427-
if [ "$with_jmvenv" == 1 ]; then pip_command=pip; else pip_command=pip3; fi
428-
$pip_command install -e ".[${reqs}]" || return 1
427+
if [ "$with_jmvenv" == 1 ]; then
428+
# shellcheck source=/dev/null
429+
source "${jm_source}/jmvenv/bin/activate" || return 1
430+
fi
431+
pip3 install -e ".[${reqs}]" || return 1
432+
if [ "$with_jmvenv" == 1 ]; then
433+
deactivate
434+
fi
429435

430436
if [[ ${with_qt} == "1" ]]; then
431437
if [[ -d ~/.local/share/icons ]] && [[ -d ~/.local/share/applications ]]; then

0 commit comments

Comments
 (0)