Example for installation of multiple extras

Documention did not have an example for installation of multiple extras.
To the reader it is not clear if SomePackage[extra1,extra2] works or
SomePackage[extra1] SomePackage[extra2].

(Spoiler alert: Donald told me, it's SomePackage[extra1,extra2].)

Signed-off-by: Christian Heimes <christian@python.org>
This commit is contained in:
Christian Heimes 2017-04-12 18:17:44 +02:00
parent 2552da3f27
commit 041b603704
1 changed files with 1 additions and 0 deletions

View File

@ -801,6 +801,7 @@ Examples
$ pip install git+https://git.repo/some_pkg.git#egg=SomePackage[PDF]
$ pip install SomePackage[PDF]==3.0
$ pip install -e .[PDF]==3.0 # editable project in current directory
$ pip install SomePackage[PDF,EPUB] # multiple extras
#. Install a particular source archive file.