Move pyenv into a package