diff options
| author | Nar Kumar Chhantyal | 2016-08-26 17:01:57 +0200 | 
|---|---|---|
| committer | Nar Kumar | 2016-11-07 12:27:30 +0100 | 
| commit | a1de5000733db1bf0e91c60dd67efbff017560ba (patch) | |
| tree | c822fdad32c69e84e957000be34519e2c0faac67 | |
| parent | 586b35fe29a2bcf3edc6869345e425df6df4a78c (diff) | |
| download | brew-a1de5000733db1bf0e91c60dd67efbff017560ba.tar.bz2 | |
Do not recommend --prefix=<empty> hack, this breaks default pip command
| -rw-r--r-- | docs/Homebrew-and-Python.md | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/docs/Homebrew-and-Python.md b/docs/Homebrew-and-Python.md index 5b8676dbc..42fdd31ae 100644 --- a/docs/Homebrew-and-Python.md +++ b/docs/Homebrew-and-Python.md @@ -33,15 +33,6 @@ Similarly, Pip can be used to upgrade itself via:  The normal `pip install --user` is disabled for brewed Python. This is because of a bug in distutils, because Homebrew writes a `distutils.cfg` which sets the package `prefix`. -A possible workaround (which puts executable scripts in `~/Library/Python/<X>.<Y>/bin`) is: - -    pip install --user --install-option="--prefix=" <package-name> - -You can make this "empty prefix" the default by adding a `~/.pydistutils.cfg` file with the following contents: - -    [install] -    prefix= -  ## `site-packages` and the `PYTHONPATH`  The `site-packages` is a directory that contains Python modules (especially bindings installed by other formulae). Homebrew creates it here: | 
