New script: pypi-release

This commit is contained in:
Alexander Gehrke 2020-07-20 16:33:04 +02:00
parent 74d8beff3a
commit 7f01de0a51
2 changed files with 57 additions and 0 deletions

View file

@ -46,3 +46,11 @@ urlencode() {
echo "${${(j: :)input}//(#b)(?)/%$[[##16]##${match[1]}]}"
}
pip-venv-deps() {
if [[ -n $VIRTUAL_ENV ]]; then
pip install -qqq "$@"
else
echo "Not in a virtual env."
exit 1
fi
}