From: Frank Brehm Date: Thu, 29 Dec 2022 09:11:39 +0000 (+0100) Subject: Updating gitlab/python-setup-template.yaml X-Git-Tag: v1.0~34 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=408972b42d57b55e6c91b2cd900e1cb2bc886ef4;p=pixelpark%2Fpython-packaging.git Updating gitlab/python-setup-template.yaml --- diff --git a/gitlab/python-setup-template.yaml b/gitlab/python-setup-template.yaml index 44a4f53..0d1b0fc 100644 --- a/gitlab/python-setup-template.yaml +++ b/gitlab/python-setup-template.yaml @@ -25,6 +25,11 @@ - locale-gen - locale -a - pip install --upgrade pip - - pip install -r requirements.txt --upgrade --upgrade-strategy eager + - > + if [[ -r requirements.txt ]] ; then + pip install -r requirements.txt --upgrade --upgrade-strategy eager + else + pip install --upgrade --upgrade-strategy eager + fi # vim: et tabstop=2 expandtab shiftwidth=2 softtabstop=2 list