From c87a8e2f15d1f3244164869a3a1b02e2f9acb9b0 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 2 Jul 2021 18:35:51 +0200 Subject: [PATCH] bundles/pretalx: use `pip install -e` for locally existing code --- bundles/pretalx/items.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bundles/pretalx/items.py b/bundles/pretalx/items.py index 37a7508..e5a04c8 100644 --- a/bundles/pretalx/items.py +++ b/bundles/pretalx/items.py @@ -8,7 +8,10 @@ actions = { }, }, 'pretalx_install': { - 'command': 'cd /opt/pretalx/src/src && /opt/pretalx/venv/bin/pip install --upgrade pip wheel gunicorn psycopg2-binary .[redis]', + 'command': + 'cd /opt/pretalx/src/src && ' + '/opt/pretalx/venv/bin/pip install --upgrade pip wheel gunicorn psycopg2-binary && ' + '/opt/pretalx/venv/bin/pip install --upgrade -e .[redis]', 'needs': { 'action:pretalx_create_virtualenv', }, @@ -176,7 +179,7 @@ for plugin_name, plugin_config in node.metadata.get('pretalx/plugins', {}).items } actions[f'pretalx_install_plugin_{plugin_name}'] = { - 'command': f'cd /opt/pretalx/plugin_{plugin_name} && /opt/pretalx/venv/bin/pip install --upgrade .', + 'command': f'cd /opt/pretalx/plugin_{plugin_name} && /opt/pretalx/venv/bin/pip install --upgrade -e .', 'needs': { last_action, },