bundles/pretalx: use `pip install -e` for locally existing code
bundlewrap/pipeline/head This commit looks good Details

This commit is contained in:
Franzi 2021-07-02 18:35:51 +02:00
parent e091adaa64
commit c87a8e2f15
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
1 changed files with 5 additions and 2 deletions

View File

@ -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,
},