diff options
| author | Tim D. Smith | 2015-04-08 12:56:32 -0700 |
|---|---|---|
| committer | Tim D. Smith | 2015-04-09 00:42:43 -0700 |
| commit | a5e1f698d59d7a32680168e2cd59d83aa912e83d (patch) | |
| tree | c67f61f5192523f129d939e61bbcb7611d762031 /Library/Homebrew/cmd/pull.rb | |
| parent | f5c8e3fdbd87ba53ea582d20fb539e9a83eb1d5c (diff) | |
| download | brew-a5e1f698d59d7a32680168e2cd59d83aa912e83d.tar.bz2 | |
Keep Homebrew site-packages in sys.path during brew test
Formulas that build python things and which are tested with system
Python will encounter test failures unless system Python is configured
to add Homebrew's site-packages to sys.path. This change makes sure that
configuration is performed in the test environment.
Both lines are needed; the first reads and processes .pth files and the
second makes sure that Homebrew's site-packages is read before the
system extras, so that formulas depending on Homebrew/python/numpy get
the Homebrew/python version and not the old system version.
Closes Homebrew/homebrew#38466.
Diffstat (limited to 'Library/Homebrew/cmd/pull.rb')
0 files changed, 0 insertions, 0 deletions
