1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00
This commit is contained in:
Jakub Roztocil 2019-12-04 18:34:26 +01:00
parent cd5116705c
commit ab3ea24630
2 changed files with 10 additions and 8 deletions

View File

@ -55,19 +55,21 @@ Setup
***** *****
The `Makefile`_ contains a bunch of tasks to get you started. Just run The `Makefile`_ contains a bunch of tasks to get you started. Just run
the following command: the following command, which:
* Creates an isolated Python virtual environment inside ``./venv``
(via the standard library `venv`_ tool);
* installs all dependencies and also installs HTTPie
(in editable mode so that the ``http`` command will point to your
working copy).
* and runs tests (It is the same as running ``make install test``).
.. code-block:: bash .. code-block:: bash
make make
* The commands creates an isolated Python virtual environment inside ``./venv``
(via the standard library `venv`_ tool);
* installs all dependencies and also installs HTTPie
(in editable mode so that the ``http`` command will point to your
working copy).
* and runs tests (It is the same as running ``make install test``).
Python virtual environment Python virtual environment

View File

@ -15,7 +15,7 @@ SYSTEM_PYTHON=python3
VENV_ROOT=venv VENV_ROOT=venv
VENV_BIN=$(VENV_ROOT)/bin VENV_BIN=$(VENV_ROOT)/bin
VENV_PIP=$(VENV_BIN)/pip3 VENV_PIP=$(VENV_BIN)/pip3
VENV_PYTHON=$(VENV_BIN)/python3 VENV_PYTHON=$(VENV_BIN)/python
export PATH := $(VENV_BIN):$(PATH) export PATH := $(VENV_BIN):$(PATH)