1de6fe4ba7
This element is designed to install latest minor versions of different python releases, like py27, py35, py36, py37, py38 into stow directory, and later easily enable them with stow. Change-Id: Iab6d20e7643e549b53c629fb430e58b1c5e72991
15 lines
344 B
Bash
Executable file
15 lines
344 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 1 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
DIB_PYTHON_FILES=('/usr/local/bin/pyenv-install', \
|
|
'/usr/localbin/pyenv-uninstall', '/usr/local/bin/python-build', \
|
|
'/usr/local/share/python-build', '/pyenv')
|
|
|
|
for path in ${DIB_PYTHON_FILES}; do
|
|
rm -rf ${DIB_PYTHON_PREFIX}/${path}
|
|
done
|