This is an automated email from the ASF dual-hosted git repository.
brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/master by this push:
new bd42c8b80 [#8428] convert setup.py develop to pip install -e
bd42c8b80 is described below
commit bd42c8b8061ab8c14822d5cc9a05ae75723801fd
Author: Dillon Walls <[email protected]>
AuthorDate: Tue May 24 17:11:30 2022 +0000
[#8428] convert setup.py develop to pip install -e
---
rebuild-all.bash | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/rebuild-all.bash b/rebuild-all.bash
index 36001f436..7b88693b0 100755
--- a/rebuild-all.bash
+++ b/rebuild-all.bash
@@ -17,11 +17,7 @@
# specific language governing permissions and limitations
# under the License.
-for APP in Allura* *Forge*
-do
- echo "# setting up $APP dependencies"
- pushd $APP > /dev/null
- python setup.py -q develop || echo " # Error setting up $APP
- # You may want to run 'pip uninstall $APP' to un-register it so you don't
get further errors."
- popd > /dev/null
-done
+# the "${...-e}" magic is inspired by this stack exchange and turns a list
into a oneline
+# https://unix.stackexchange.com/a/445522
+APPS=(Allura* *Forge*)
+pip install --no-index "${APPS[@]/#/-e}"