mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 08:38:44 +02:00
Fixes
This commit is contained in:
parent
cd5116705c
commit
ab3ea24630
@ -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
|
||||||
|
2
Makefile
2
Makefile
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user