mirror of
https://git.mirrors.martin98.com/https://github.com/petaflot/pygcode
synced 2025-08-14 22:55:56 +08:00
added lsenv
This commit is contained in:
parent
d9b143a2fa
commit
f64b7f850e
@ -42,6 +42,7 @@ Arguments:
|
|||||||
creates both 'sdist' and 'wheel' distrobutions.
|
creates both 'sdist' and 'wheel' distrobutions.
|
||||||
|
|
||||||
Virtual Environments:
|
Virtual Environments:
|
||||||
|
lsenv List created virtual environments for this lib
|
||||||
rmenv py# Remove virtual environment
|
rmenv py# Remove virtual environment
|
||||||
remkenv py# Remove, then create re-create virtual environment
|
remkenv py# Remove, then create re-create virtual environment
|
||||||
envprereq py# install environment prerequisites (official PyPi)
|
envprereq py# install environment prerequisites (official PyPi)
|
||||||
@ -83,6 +84,10 @@ function build() {
|
|||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function lsenv() {
|
||||||
|
lsvirtualenv -b | grep ^${LIB_NAME}_
|
||||||
|
}
|
||||||
|
|
||||||
function rmenv() {
|
function rmenv() {
|
||||||
# Remove virtual environment
|
# Remove virtual environment
|
||||||
set_venv_variables $1
|
set_venv_variables $1
|
||||||
@ -210,6 +215,7 @@ case "$1" in
|
|||||||
# Valid Commands
|
# Valid Commands
|
||||||
setup) setup ;;
|
setup) setup ;;
|
||||||
build) build ;;
|
build) build ;;
|
||||||
|
lsenv) lsenv ;;
|
||||||
rmenv) rmenv $2 ;;
|
rmenv) rmenv $2 ;;
|
||||||
remkenv) remkenv $2 ;;
|
remkenv) remkenv $2 ;;
|
||||||
envprereq) envprereq $2 ;;
|
envprereq) envprereq $2 ;;
|
||||||
@ -224,4 +230,4 @@ case "$1" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo ./${0##*/} completed successfully
|
#echo ./${0##*/} completed successfully
|
||||||
|
Loading…
x
Reference in New Issue
Block a user