Remove [--editable] in install instructions.

Use -e only in docs targeted at contributors.

If a user copy-pastes  command line with [--editable], they will hit
an error. If they don't know the --editable option, we're giving them
a choice to make before they can move forwards, but this isn't a choice
they need to make right now.
This commit is contained in:
Aymeric Augustin committed 2019-12-24 08:46:08 +01:00
1 parent 8a6881822a
commit a8d34e534e
7 files changed
+11 -7

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ To generate the documentation, you first have to build it. Several packages are
you can install them with the following command, at the root of the code repository:
```bash
pip install .[docs]
pip install -e .[docs]
```
## Packages installed
+1 -1
View File
@@ -17,7 +17,7 @@ To install from source, clone the repository and install with:
``` bash
git clone https://github.com/huggingface/transformers.git
cd transformers
pip install [--editable] .
pip install .
```
## Tests