New script: pypi-release
This commit is contained in:
parent
74d8beff3a
commit
7f01de0a51
2 changed files with 57 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue