mirror of
https://git.mirrors.martin98.com/https://github.com/petaflot/pygcode
synced 2025-08-12 22:09:10 +08:00
added lsenv
This commit is contained in:
parent
d9b143a2fa
commit
f64b7f850e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user