From ec750908905418408e01621e356707ac46636ca5 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 23 Sep 2021 11:27:41 +0200 Subject: [PATCH] doc: Add the in-tree-build option to install docs This is required for the setuptools_scm package to correctly identify the root of the git repository when installing from the requirements.txt file in the root. It'd otherwise copy the source directory, which doesn't yet include the version metadata, into a separate directory and the building from there, which breaks the git lookup. `in-tree-build` is the future default, so we'll eventually be able to strip that option again. See [1] for details. [1] https://github.com/pypa/pip/issues/7555 --- doc/INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/INSTALL.md b/doc/INSTALL.md index ec6aeb02be0a..0d6505e241c0 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -58,7 +58,7 @@ Clone lightning: For development or running tests, get additional dependencies: sudo apt-get install -y valgrind python3-pip libpq-dev - sudo pip3 install -r requirements.txt + sudo pip3 install -r requirements.txt --use-feature=in-tree-build Build lightning: