mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 09:55:21 +00:00
Add contributing support for zsh and win (#1272)
* fix: add support for zsh and win * docs: add both install commands (win,lin,mac) * fix: some typos * docs: update win cmd examples
This commit is contained in:
parent
5b17bd4393
commit
5a14098803
1 changed files with 23 additions and 16 deletions
|
|
@ -35,34 +35,33 @@ be able to install packages into that isolated environment.
|
||||||
Activate the environment
|
Activate the environment
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
Linux/ macOS:
|
Linux / macOS:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
|
||||||
Windows PoweShell
|
Windows cmd
|
||||||
|
|
||||||
.. code-block:: powershell
|
.. code-block:: text
|
||||||
|
|
||||||
.\.venv\Scripts\Activate.ps1
|
.\.venv\Scripts\activate
|
||||||
|
|
||||||
To check it worked, use described command, it should show the :code:`pip` location inside
|
|
||||||
the isolated environment
|
|
||||||
|
|
||||||
Linux, macOS:
|
|
||||||
|
|
||||||
.. code-block::
|
|
||||||
|
|
||||||
which pip
|
|
||||||
|
|
||||||
Windows PowerShell
|
Windows PowerShell
|
||||||
|
|
||||||
|
.. code-block:: powershell
|
||||||
|
|
||||||
|
.\.venv\Scripts\activate.ps1
|
||||||
|
|
||||||
|
To check it worked, use described command, it should show the :code:`pip` version and location
|
||||||
|
inside the isolated environment
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
Get-Command pip
|
pip -V
|
||||||
|
|
||||||
Also make you shure you have the latest pip version in your virtual environment to avoid
|
|
||||||
|
Also make sure you have the latest pip version in your virtual environment to avoid
|
||||||
errors on next steps:
|
errors on next steps:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
@ -73,7 +72,15 @@ errors on next steps:
|
||||||
Setup project
|
Setup project
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
After activating the environment install `aiogram` from sources and their dependencies:
|
After activating the environment install `aiogram` from sources and their dependencies.
|
||||||
|
|
||||||
|
Linux / macOS:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
pip install -e ."[dev,test,docs,fast,redis,proxy,i18n]"
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue