Probably, yes. I'll give it a try. FWIW, I based this on https://github.com/Homebrew/homebrew/blob/master/Library/Formula/pyenv-virtualenv.rb which has no tests.