diff options
| author | Tim D. Smith | 2017-06-14 22:10:17 -0700 | 
|---|---|---|
| committer | Tim D. Smith | 2017-06-14 22:38:17 -0700 | 
| commit | 1e7bff808180a35da545630ad75a6fab31cf7da5 (patch) | |
| tree | c5cd83a9d6f6531870ea4437e140670bbc91a572 /docs/Python-for-Formula-Authors.md | |
| parent | 3fe32053a7f0d7f817a90e308ab0c62436a5c208 (diff) | |
| download | brew-1e7bff808180a35da545630ad75a6fab31cf7da5.tar.bz2 | |
Remove reference to link_scripts.
Closes #2740.
Diffstat (limited to 'docs/Python-for-Formula-Authors.md')
| -rw-r--r-- | docs/Python-for-Formula-Authors.md | 14 | 
1 files changed, 6 insertions, 8 deletions
| diff --git a/docs/Python-for-Formula-Authors.md b/docs/Python-for-Formula-Authors.md index ea86cf84c..8b4bc2cb4 100644 --- a/docs/Python-for-Formula-Authors.md +++ b/docs/Python-for-Formula-Authors.md @@ -98,14 +98,12 @@ def install    venv = virtualenv_create(libexec)    # Install all of the resources declared on the formula into the virtualenv.    venv.pip_install resources -  # `link_scripts` takes a look at the virtualenv's bin directory before and -  # after executing the block which is passed into it. If the block caused any -  # new scripts to be written to the virtualenv's bin directory, link_scripts -  # will symlink those scripts into the path given as its argument (here, the -  # formula's `bin` directory in the Cellar.) -  # `pip_install buildpath` will install the package that the formula points to, -  # because buildpath is the location where the formula's tarball was unpacked. -  venv.link_scripts(bin) { venv.pip_install buildpath } +  # `pip_install_and_link` takes a look at the virtualenv's bin directory +  # before and after installing its argument. New scripts will be symlinked +  # into `bin`. `pip_install_and_link buildpath` will install the package +  # that the formula points to, because buildpath is the location where the +  # formula's tarball was unpacked. +  venv.pip_install_and_link buildpath  end  ``` | 
