Merge pull request #4237 from anjakefala/anjakefala-python-docs

virtualenv_create(libexec, "python") results in error upon install
This commit is contained in:
Mike McQuaid 2018-05-29 18:42:18 +01:00 committed by GitHub
commit 5f37f080b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ This is exactly the same as writing:
```ruby
def install
# Create a virtualenv in `libexec`. If your app needs Python 3, make sure that
# `depends_on "python"` is declared, and use `virtualenv_create(libexec, "python")`.
# `depends_on "python"` is declared, and use `virtualenv_create(libexec, "python3")`.
venv = virtualenv_create(libexec)
# Install all of the resources declared on the formula into the virtualenv.
venv.pip_install resources