From 477b7e8fd30192b82547573fc78fa99128763f99 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Tue, 12 Mar 2024 22:03:46 +0000 Subject: [PATCH] docs: minor update to overlays docs --- doc/OVERLAYS.org | 4 ++++ doc/overlays/install_packages.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/OVERLAYS.org b/doc/OVERLAYS.org index 98687b74..1e6cf8f9 100644 --- a/doc/OVERLAYS.org +++ b/doc/OVERLAYS.org @@ -64,6 +64,10 @@ Verify the setup: This basically means that modules will be searched in both paths, with overlay taking precedence. +** Installing with =--use-pep517= + +See here for discussion https://github.com/seanbreckenridge/reorder_editable/issues/2, but TLDR it should work similarly. + * Testing runtime behaviour (editable install) : $ python3 -c 'import my.reddit as R; print(R.upvotes())' diff --git a/doc/overlays/install_packages.sh b/doc/overlays/install_packages.sh index 3fc38d37..5853e08c 100755 --- a/doc/overlays/install_packages.sh +++ b/doc/overlays/install_packages.sh @@ -1,4 +1,4 @@ #!/bin/bash set -eux -pip3 install --user -e overlay/ -pip3 install --user -e main/ +pip3 install --user "$@" -e main/ +pip3 install --user "$@" -e overlay/