Use quotes for pip install with extras in README (#825)

This commit is contained in:
Roberto Martinez 2021-12-14 14:24:33 -05:00 committed by GitHub
parent b502c44c06
commit 3843cef3f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,17 +97,17 @@ GSSAPI authentication requires `pykerberos
<https://pypi.python.org/pypi/winkerberos>`_ on Windows. The correct
dependency can be installed automatically along with PyMongo::
$ python -m pip install pymongo[gssapi]
$ python -m pip install "pymongo[gssapi]"
MONGODB-AWS authentication requires `pymongo-auth-aws
<https://pypi.org/project/pymongo-auth-aws/>`_::
$ python -m pip install pymongo[aws]
$ python -m pip install "pymongo[aws]"
Support for mongodb+srv:// URIs requires `dnspython
<https://pypi.python.org/pypi/dnspython>`_::
$ python -m pip install pymongo[srv]
$ python -m pip install "pymongo[srv]"
OCSP (Online Certificate Status Protocol) requires `PyOpenSSL
<https://pypi.org/project/pyOpenSSL/>`_, `requests
@ -116,27 +116,27 @@ OCSP (Online Certificate Status Protocol) requires `PyOpenSSL
require `certifi
<https://pypi.python.org/pypi/certifi>`_::
$ python -m pip install pymongo[ocsp]
$ python -m pip install "pymongo[ocsp]"
Wire protocol compression with snappy requires `python-snappy
<https://pypi.org/project/python-snappy>`_::
$ python -m pip install pymongo[snappy]
$ python -m pip install "pymongo[snappy]"
Wire protocol compression with zstandard requires `zstandard
<https://pypi.org/project/zstandard>`_::
$ python -m pip install pymongo[zstd]
$ python -m pip install "pymongo[zstd]"
Client-Side Field Level Encryption requires `pymongocrypt
<https://pypi.org/project/pymongocrypt/>`_::
$ python -m pip install pymongo[encryption]
$ python -m pip install "pymongo[encryption]"
You can install all dependencies automatically with the following
command::
$ python -m pip install pymongo[gssapi,aws,ocsp,snappy,srv,tls,zstd,encryption]
$ python -m pip install "pymongo[gssapi,aws,ocsp,snappy,srv,tls,zstd,encryption]"
Additional dependencies are: