Files
283 lines
8.6 KiB
Plaintext
283 lines
8.6 KiB
Plaintext
#!/bin/bash
# Python Functions
if is_fedora || is_suse; then
# Wrapper for ``pip install`` to set cache and proxy environment variables
# pip_install package [package ...]
local offline=${OFFLINE:-False}
if [[ -z "$os_PACKAGE" ]]; then
fi
local pip_version=$(python -c "import pip; \
$@
fi
local required_pkg=$(grep -i -h ^${package} $REQUIREMENTS_DIR/global-requirements.txt | cut -d\# -f1)
# should we use this library from their git repo, or should we let it
(cd $REQUIREMENTS_DIR; \
fi
$REQUIREMENTS_DIR/.venv/bin/edit-constraints $REQUIREMENTS_DIR/upper-constraints.txt -- $name "$flags $project_dir"
setup_package $project_dir $flags