python: do not remove pycache for standard library

This commit is contained in:
Leonid Pliushch 2019-11-17 22:34:09 +02:00
parent 6908c2217f
commit b240cda431
2 changed files with 1 additions and 3 deletions

View File

@ -64,9 +64,6 @@ termux_step_post_massage() {
termux_error_exit "Python module library $module not built"
fi
done
#FIXME: Is this necessary?
find $TERMUX_PKG_MASSAGEDIR -depth -name __pycache__ -exec rm -rf "{}" +
}
termux_step_create_debscripts() {

View File

@ -7,4 +7,5 @@ lib/python${_MAJOR_VERSION}/tkinter
lib/python${_MAJOR_VERSION}/turtle.py
lib/python${_MAJOR_VERSION}/turtledemo
lib/python${_MAJOR_VERSION}/lib-dynload/_tkinter.cpython-${_MAJOR_VERSION/./}m.so
lib/python${_MAJOR_VERSION}/__pycache__/turtle.*.pyc
"