diff --git a/deployment/deploy.sh b/deployment/deploy.sh index 008bbee..7c63f0d 100755 --- a/deployment/deploy.sh +++ b/deployment/deploy.sh @@ -42,6 +42,7 @@ Arguments: creates both 'sdist' and 'wheel' distrobutions. Virtual Environments: + lsenv List created virtual environments for this lib rmenv py# Remove virtual environment remkenv py# Remove, then create re-create virtual environment envprereq py# install environment prerequisites (official PyPi) @@ -83,6 +84,10 @@ function build() { popd } +function lsenv() { + lsvirtualenv -b | grep ^${LIB_NAME}_ +} + function rmenv() { # Remove virtual environment set_venv_variables $1 @@ -210,6 +215,7 @@ case "$1" in # Valid Commands setup) setup ;; build) build ;; + lsenv) lsenv ;; rmenv) rmenv $2 ;; remkenv) remkenv $2 ;; envprereq) envprereq $2 ;; @@ -224,4 +230,4 @@ case "$1" in ;; esac -echo ./${0##*/} completed successfully +#echo ./${0##*/} completed successfully