Consider environment variable PYENV_ROOT.

Installation directory can be specified by either
setting PYENV_ROOT value before running the script or
via command line option '-p'.