Files
brew/Library/Homebrew
Michka Popoff ddc73ffa0c python: do not add main brewed Python site-package to virtualenv
If added, this makes the virtualenv read the main site-package from brewed Python,
and especially makes it read our sitecustomize.py file, which will
modify the sys.executable path.

See the full discussion at:
https://github.com/Homebrew/brew/pull/8873

I also took the opportunity to not include test deps, as these will
be not be installed, so the .pth file should not contains references
to site-packages from test deps.

Previous packages on Linux did already contain the wrong lines in the pth file,
for example:
cat /home/linuxbrew/.linuxbrew/Cellar/aws-google-auth/0.0.36_1/libexec/lib/python3.8/site-packages/homebrew_deps.pth
import site; site.addsitedir('/home/linuxbrew/.linuxbrew/opt/python@3.8/lib/python3.8/site-packages')
import site; site.addsitedir('/home/linuxbrew/.linuxbrew/opt/libxml2/lib/python3.8/site-packages')

This might have caused subtle bugs for some packages but not for others.
2020-10-08 19:03:51 +02:00
..
2020-10-05 15:58:17 +02:00
2020-10-01 00:57:10 +02:00
2020-10-07 12:12:10 +02:00
2020-09-03 13:28:22 +01:00
2020-08-17 15:02:04 +01:00
2020-09-19 02:03:56 +02:00
2020-10-05 15:58:17 +02:00
2020-09-20 03:19:39 +02:00
2020-08-26 03:17:39 +02:00
2020-09-11 10:29:22 +01:00
2020-08-26 03:13:58 +02:00
2020-09-01 14:26:45 +01:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-19 17:12:32 +01:00
2020-08-26 03:13:58 +02:00
2020-08-14 18:50:17 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-09-02 12:23:14 -04:00
2020-08-26 03:13:58 +02:00
2020-09-21 01:15:31 +10:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-09-11 10:29:22 +01:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-27 14:03:03 +01:00
2020-09-01 14:52:37 +01:00
2020-08-26 03:13:58 +02:00
2020-09-11 10:29:22 +01:00
2020-09-11 10:29:22 +01:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:59 +02:00
2020-08-12 00:45:01 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:59 +02:00
2020-10-02 13:48:26 +01:00
2020-08-26 03:13:59 +02:00
2020-09-01 14:26:45 +01:00
2020-08-26 03:13:59 +02:00
2020-09-01 14:26:45 +01:00
2020-08-26 03:13:59 +02:00
2020-09-17 15:57:19 +05:30
2020-08-26 03:13:59 +02:00
2020-08-26 03:13:59 +02:00
2020-08-26 03:13:59 +02:00
2020-10-05 13:52:50 +11:00
2020-09-30 16:43:47 +01:00
2020-09-23 09:01:55 +01:00
2020-08-26 03:13:58 +02:00
2020-10-05 08:44:03 -04:00

Homebrew's Formula API

This is the public API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!