Files
516 lines
16 KiB
Plaintext
516 lines
16 KiB
Plaintext
#!/bin/bash
# Python Functions
# Get the path to the pip command.
fi
# get_python_exec_prefix
}
# Wrapper for ``pip install`` to set cache and proxy environment variables
function pip_install {
set +o xtrace
local offline=${OFFLINE:-False}
if [[ -z "$os_PACKAGE" ]]; then
local sudo_pip="env"
else
fi
$xtrace
$sudo_pip \
$@
}
required_pkg_version_constraint=$(grep -i -h -o -P "^${package}\K.*" $REQUIREMENTS_DIR/global-requirements.txt | cut -d\# -f1)
# should we use this library from their git repo, or should we let it
return $enabled
# setup a library by name. If we are trying to use the library from
# the library from git, we'll do a git based install, otherwise we'll
function setup_dev_lib {
local name=1ドル
}
function setup_install {
local project_dir=1ドル
}
function setup_develop {
local project_dir=1ドル
}
#
local project_dir=1ドル
}
# Uses globals ``STACK_USER``
function setup_package {
local project_dir=1ドル
# ensure that further actions can do things like setup.py sdist
safe_chown -R $STACK_USER 1ドル/*.egg-info
# Restore xtrace