Adjust install instructions [ci skip]

This commit is contained in:
Ines Montani 2020-12-08 18:06:50 +11:00
parent 6cfa66ed1c
commit ef59ce783b
1 changed files with 7 additions and 9 deletions

View File

@ -215,20 +215,18 @@ source code and recompiling frequently.
previous installs with `pip uninstall spacy`, which you may need to run previous installs with `pip uninstall spacy`, which you may need to run
multiple times to remove all traces of earlier installs. multiple times to remove all traces of earlier installs.
```diff ```bash
- $ pip install . $ pip install -r requirements.txt
+ $ pip install -r requirements.txt $ pip install --no-build-isolation --editable .
+ $ pip install --no-build-isolation --editable .
``` ```
- Build in parallel using `N` CPUs to speed up compilation and then install in - Build in parallel using `N` CPUs to speed up compilation and then install in
editable mode: editable mode:
```diff ```bash
- $ pip install . $ pip install -r requirements.txt
+ $ pip install -r requirements.txt $ python setup.py build_ext --inplace -j N
+ $ python setup.py build_ext --inplace -j N $ pip install --no-build-isolation --editable .
+ $ pip install --no-build-isolation --editable .
``` ```
### Building an executable {#executable} ### Building an executable {#executable}