From c12d84b856c103db5c29e7c938b495cce0fa2973 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= <inform@tiker.net>
Date: Mon, 15 Feb 2021 15:00:44 -0600
Subject: [PATCH] Install instructions: add --editable

---
 doc/misc.rst | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/doc/misc.rst b/doc/misc.rst
index b0f6283a..e64dfcc7 100644
--- a/doc/misc.rst
+++ b/doc/misc.rst
@@ -33,7 +33,12 @@ MacOS support is in the works.
 
 #.  Type the following command::
 
-        hash -r; for i in pymbolic cgen genpy modepy pyvisfile loopy meshmode dagrt leap grudge; do python -m pip install git+https://gitlab.tiker.net/inducer/$i.git; done
+        hash -r; for i in pymbolic cgen genpy modepy pyvisfile loopy meshmode dagrt leap grudge; do python -m pip install --editable "git+https://gitlab.tiker.net/inducer/$i.git#egg=$i"; done
+
+.. note::
+
+    In each case, you may leave out the ``--editable`` flag if you would not like
+    a checkout of the source code.
 
 Next time you want to use `grudge`, just run the following command::
 
-- 
GitLab