File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if [ -f $HERE/env.sh ]; then
10
10
. $HERE /env.sh
11
11
fi
12
12
13
- _BIN_DIR=${PYMONGO_BIN_DIR:- }
13
+ _BIN_DIR=${PYMONGO_BIN_DIR:- $HOME / .local / bin }
14
14
15
15
# Helper function to pip install a dependency using a temporary python env.
16
16
function _pip_install() {
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ if [ ! -d $BIN_DIR ]; then
36
36
echo " Using python $UV_PYTHON "
37
37
fi
38
38
39
- # Add the default uv install path to the path.
40
- if ! command -v uv 2> /dev/null ; then
41
- export PATH=" $HOME /.local/bin: $PATH "
39
+ # Add the default install path to the path if needed .
40
+ if [ -z " ${PYMONGO_BIN_DIR :- } " ] then
41
+ export PATH=" $PATH : $ HOME /.local/bin"
42
42
fi
43
43
44
44
uv sync --frozen
You can’t perform that action at this time.
0 commit comments