stop cleaning of pyc files in build dir

This commit is contained in:
Ondřej Samohel 2021-05-25 18:53:41 +02:00
parent 017db0b40c
commit 00a0c3931e
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
8 changed files with 20 additions and 32 deletions

View file

@ -89,23 +89,6 @@ detect_python () {
fi
}
##############################################################################
# Clean pyc files in specified directory
# Globals:
# None
# Arguments:
# Optional path to clean
# Returns:
# None
###############################################################################
clean_pyc () {
local path
path=$openpype_root
echo -e "${BIGreen}>>>${RST} Cleaning pyc at [ ${BIWhite}$path${RST} ] ... \c"
find "$path" -regex '^.*\(__pycache__\|\.py[co]\)$' -delete
echo -e "${BIGreen}DONE${RST}"
}
##############################################################################
# Return absolute path
# Globals: