diff options
| author | ilovezfs | 2016-08-05 00:20:20 -0700 |
|---|---|---|
| committer | ilovezfs | 2016-10-02 18:08:56 -0700 |
| commit | 23a38e0ff6beb26f86eca0c56b25d6100375b60d (patch) | |
| tree | a4474aa269ff6ed45420bb1daf087deea9ed4c21 /docs/Formula-Cookbook.md | |
| parent | 7d31a70373edae4d8e78d91a4cbc05324bebc3ba (diff) | |
| download | brew-23a38e0ff6beb26f86eca0c56b25d6100375b60d.tar.bz2 | |
virtualenv_install_with_resources: select correct python
`virtualenv_install_with_resources` will now attempt to guess the
desired Python based on the active build options and based on the
dependencies and requirements. When the situation is ambiguous (e.g.,
`depends_on :python3` and `build.with? "python"` is true) raise
`FormulaAmbiguousPythonError` unless `:using => "python"` or
`:using => "python3"` has been passed to resolve the ambiguity.
In most cases, this will allow
```
virtualenv_create(libexec, "python3")
virtualenv_install_with_resources
```
to be changed to just
```
virtualenv_install_with_resources
```
Diffstat (limited to 'docs/Formula-Cookbook.md')
0 files changed, 0 insertions, 0 deletions
