Skip to content

Commit ec75090

Browse files
committed
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] pypa/pip#7555
1 parent 7174028 commit ec75090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/INSTALL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Clone lightning:
5858
For development or running tests, get additional dependencies:
5959

6060
sudo apt-get install -y valgrind python3-pip libpq-dev
61-
sudo pip3 install -r requirements.txt
61+
sudo pip3 install -r requirements.txt --use-feature=in-tree-build
6262

6363
Build lightning:
6464

0 commit comments

Comments
 (0)