Add installation-methods to docs (#3720)

This commit is contained in:
Bert Blommers 2021-02-23 13:59:29 +00:00 committed by GitHub
parent a0d7a943ee
commit af8b658b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,19 @@ Installing Moto
You can use ``pip`` to install the latest released version of ``moto``:: You can use ``pip`` to install the latest released version of ``moto``::
pip install moto[ec2,s3,..]
This will install Moto, and the dependencies required for that specific service.
If you don't care about the number of dependencies, or if you want to mock many AWS services::
pip install moto[all]
Not all services might be covered, in which case you might see a warning:
`moto 1.3.16 does not provide the extra 'service'`.
You can ignore the warning, or simply install moto as is::
pip install moto pip install moto
If you want to install ``moto`` from source:: If you want to install ``moto`` from source::