Carlo Cabrera 3d3b9874f9
language/python: create venvs with access to system site packages
A user may wish to use two use two brew-installed Python packages
together. For example, one might want to `import numpy` when using
`jupyterlab` or `ptpython`.

Currently, the only ways to do this I'm aware of is with some hacking of
`PYTHONPATH` or the creation of `.pth` files in a formula's prefix.

A better solution is to allow the virtualenvs that `brew` creates to
have access to system site-packages by default, so that `import numpy`
inside `ptpython` or `jupyterlab` just works.

Partially resolves Homebrew/homebrew-core#76950.
2021-06-28 03:20:03 +01:00
..
2021-05-18 17:10:20 +05:30
2021-05-21 00:07:42 +00:00
2021-04-14 12:37:25 +01:00
2021-06-25 00:14:00 +00:00
2021-06-22 09:22:36 -05:00
2021-06-22 18:06:53 +01:00
2021-04-13 22:23:32 +09:00
2021-05-12 13:37:18 +01:00
2021-06-22 18:06:52 +01:00
2021-05-08 11:20:01 +10:00
2021-05-02 00:29:01 +01:00
2021-05-08 11:20:01 +10:00
2021-04-14 12:37:18 +01:00
2021-06-22 20:57:09 +09:00
2021-05-04 11:30:14 -04:00
2021-06-18 15:30:14 -04:00
2021-04-14 12:37:18 +01:00
2021-04-17 20:56:56 +09:00
2021-04-23 13:43:55 +01:00
2021-04-20 20:32:01 +09:00
2021-06-15 12:52:39 +01:00
2021-06-22 18:06:52 +01:00
2021-06-11 20:02:31 +05:30
2021-06-22 18:06:52 +01:00

Homebrew Ruby API

This is the 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!