File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 12
12
13
13
_BIN_DIR=${PYMONGO_BIN_DIR:- }
14
14
15
- # Handle remote containers/VMS.
16
- if [ -z " $_BIN_DIR " ] && [ " $( uname -s) " = " Linux" ]; then
17
- _BIN_DIR=/usr/local/bin
18
- fi
19
-
20
15
# Helper function to pip install a dependency using a temporary python env.
21
16
function _pip_install() {
22
17
_HERE=$( dirname ${BASH_SOURCE:- $0 } )
@@ -33,10 +28,6 @@ function _pip_install() {
33
28
34
29
# Ensure just is installed.
35
30
if ! command -v just 2> /dev/null; then
36
- if [ -z " $_BIN_DIR " ]; then
37
- echo " Please install just!"
38
- exit 1
39
- fi
40
31
# On most systems we can install directly.
41
32
_TARGET=" "
42
33
if [ " Windows_NT" = " ${OS:- } " ]; then
52
43
53
44
# Install uv.
54
45
if ! command -v uv 2> /dev/null; then
55
- if [ -z " $_BIN_DIR " ]; then
56
- echo " Please install uv!"
57
- exit 1
58
- fi
59
46
echo " Installing uv..."
60
47
# On most systems we can install directly.
61
48
curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=" $_BIN_DIR " INSTALLER_NO_MODIFY_PATH=1 sh || {
You can’t perform that action at this time.
0 commit comments