Add TgCrypto installation command (as extra)

This commit is contained in:
Dan 2018-02-17 16:25:05 +01:00
parent b606ec44c5
commit 0b4fa8b517

View File

@ -7,6 +7,12 @@ The most straightforward and recommended way to install or upgrade Pyrogram is b
$ pip install --upgrade pyrogram $ pip install --upgrade pyrogram
Or, with TgCrypto_:
.. code-block:: bash
$ pip install --upgrade pyrogram[tgcrypto]
.. important:: .. important::
Pyrogram only works on Python 3.3 or higher; if your **pip** points to Python 2.x use **pip3** instead. Pyrogram only works on Python 3.3 or higher; if your **pip** points to Python 2.x use **pip3** instead.
@ -39,3 +45,5 @@ If no errors show up you are good to go.
>>> import pyrogram >>> import pyrogram
>>> pyrogram.__version__ >>> pyrogram.__version__
'0.6.1' '0.6.1'
.. _TgCrypto: https://docs.pyrogram.ml/resources/TgCrypto