Skip to content

Commit

Permalink
Install test dependencies with develop flag
Browse files Browse the repository at this point in the history
  • Loading branch information
roshii committed May 1, 2023
1 parent d26a05f commit 37f670c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ joinmarket_install ()
if [[ ${with_qt} == "1" ]]; then
reqs='gui'
fi
if [[ ${develop} == "1" ]]; then
reqs+=',test'
fi

if [ "$with_jmvenv" == 1 ]; then pip_command=pip; else pip_command=pip3; fi
$pip_command install -e ".[${reqs}]" || return 1
Expand All @@ -460,7 +463,9 @@ parse_flags ()
while :; do
case $1 in
--develop)
# no-op for backwards compatibility
# editable install is currently always on
# option solely triggers test dependencies installation for now
develop='1'
;;
--disable-os-deps-check)
use_os_deps_check='0'
Expand Down

0 comments on commit 37f670c

Please sign in to comment.