mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-19 11:36:41 +00:00
Update README.rst
This commit is contained in:
parent
98bbcb6cd6
commit
b05b43153c
@ -67,13 +67,16 @@ upgrade with ``pip install --upgrade telethon``!
|
|||||||
Installing Telethon manually
|
Installing Telethon manually
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
1. Install the required ``pyaes`` module: ``sudo -H pip install pyaes``
|
1. Install the required ``pyaes`` and ``rsa`` modules: ``sudo -H pip install pyaes rsa``
|
||||||
(`GitHub <https://github.com/ricmoo/pyaes>`_, `package index <https://pypi.python.org/pypi/pyaes>`_)
|
(`GitHub <https://github.com/ricmoo/pyaes>`_, `package index <https://pypi.python.org/pypi/pyaes>`_)
|
||||||
2. Clone Telethon's GitHub repository: ``git clone https://github.com/LonamiWebs/Telethon.git``
|
2. Clone Telethon's GitHub repository: ``git clone https://github.com/LonamiWebs/Telethon.git``
|
||||||
3. Enter the cloned repository: ``cd Telethon``
|
3. Enter the cloned repository: ``cd Telethon``
|
||||||
4. Run the code generator: ``python3 setup.py gen_tl``
|
4. Run the code generator: ``python3 setup.py gen_tl``
|
||||||
5. Done!
|
5. Done!
|
||||||
|
|
||||||
|
To speed up the crypto part of Telethon, you should also install ``sympy`` and
|
||||||
|
``libssl`` on your computer. This step is optional.
|
||||||
|
|
||||||
Running Telethon
|
Running Telethon
|
||||||
================
|
================
|
||||||
If you've installed Telethon via pip, launch an interactive python3 session and enter the following:
|
If you've installed Telethon via pip, launch an interactive python3 session and enter the following:
|
Loading…
Reference in New Issue
Block a user