From ab3ea24630c2d0da474d95b536f5b9383c68b817 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Wed, 4 Dec 2019 18:34:26 +0100 Subject: [PATCH] Fixes --- CONTRIBUTING.rst | 16 +++++++++------- Makefile | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 78b1a825..02325384 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -55,19 +55,21 @@ Setup ***** 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 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 diff --git a/Makefile b/Makefile index 7b460875..d40fa75c 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ SYSTEM_PYTHON=python3 VENV_ROOT=venv VENV_BIN=$(VENV_ROOT)/bin VENV_PIP=$(VENV_BIN)/pip3 -VENV_PYTHON=$(VENV_BIN)/python3 +VENV_PYTHON=$(VENV_BIN)/python export PATH := $(VENV_BIN):$(PATH)