Skip to content

Commit 024e385

Browse files
committed
Don't rely on git for GitHub installations
Instead, let people install from zips GitHub already provides.
1 parent 490b8bf commit 024e385

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/source/start/Installation.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ Install Pyrogram
1818

1919
.. code-block:: text
2020
21-
$ pip3 install --upgrade pyrogram
21+
$ pip3 install -U pyrogram
2222
2323
- or, with TgCrypto_ as extra requirement (recommended):
2424

2525
.. code-block:: text
2626
27-
$ pip3 install --upgrade pyrogram[fast]
27+
$ pip3 install -U pyrogram[fast]
2828
2929
Bleeding Edge
3030
-------------
3131

3232
If you want the latest development version of Pyrogram, you can install it straight from the develop_
33-
branch using this command (you might need to install **git** first):
33+
branch using this command (note "develop.zip" in the link):
3434

3535
.. code-block:: text
3636
37-
$ pip3 install --upgrade git+https://github.com/pyrogram/pyrogram.git
37+
$ pip3 install -U https://github.com/pyrogram/pyrogram/archive/develop.zip
3838
3939
Asynchronous
4040
------------
@@ -43,11 +43,11 @@ Pyrogram heavily depends on IO-bound network code (it's a cloud-based messaging
4343
where asyncio shines the most by providing extra performance while running on a single OS-level thread only.
4444

4545
**A fully asynchronous variant of Pyrogram is therefore available** (Python 3.5+ required).
46-
Use this command to install:
46+
Use this command to install (note "asyncio.zip" in the link):
4747

4848
.. code-block:: text
4949
50-
$ pip3 install --upgrade git+https://github.com/pyrogram/pyrogram.git@asyncio
50+
$ pip3 install -U https://github.com/pyrogram/pyrogram/archive/asyncio.zip
5151
5252
5353
Pyrogram API remains the same and features are kept up to date from the non-async, default develop branch, but you

0 commit comments

Comments
 (0)