From b9f96427724d6f60437c87f1b87840ac2f814c0d Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Sat, 27 Aug 2022 13:46:34 +0200 Subject: [PATCH] Install lektor with pip and venv --- .woodpecker.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index f865c44..6c733cf 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,9 +3,10 @@ pipeline: image: python:3.8-bullseye commands: - apt-get update - - apt-get install -y git ca-certificates gettext wget python3-pip python3-babel - - wget https://gitlab.torproject.org/tpo/tpa/ci-templates/-/raw/main/lektor-requirements.txt -O requirements.txt - - python3 -m pip install --require-hashes -r requirements.txt + - apt-get install -y git gettext python3-pip python3-venv python3-babel + - virtualenv venv + - . venv/bin/activate + - pip install Lektor - rm -rf i18n - git clone https://lab.encryptionin.space/Queerscriptors/weblate-website.git i18n - lektor plugin reinstall