From bb6a91d5d4c684e8a97feca61449b41628afaefa Mon Sep 17 00:00:00 2001 From: Joni Jantti Date: Tue, 10 Jul 2018 11:54:25 +0300 Subject: Provisioning: PyPFD2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Required for QSR documentation. Task-number: QTQAINFRA-2103 Change-Id: I4da98460fb5d5ad26f9e1e16c503a0d94be047a6 Reviewed-by: Johanna Äijälä Reviewed-by: Tony Sarajärvi --- coin/provisioning/common/windows/python.ps1 | 3 +++ coin/provisioning/common/windows/python3.ps1 | 3 +++ 2 files changed, 6 insertions(+) (limited to 'coin/provisioning/common') diff --git a/coin/provisioning/common/windows/python.ps1 b/coin/provisioning/common/windows/python.ps1 index e2855c75..86b82eb6 100644 --- a/coin/provisioning/common/windows/python.ps1 +++ b/coin/provisioning/common/windows/python.ps1 @@ -83,4 +83,7 @@ if (IsProxyEnabled) { } Run-Executable "$targetDir\Scripts\pip.exe" "$pip_args install virtualenv" +# Install PyPDF2 for QSR documentation +Run-Executable "$targetDir\Scripts\pip.exe" "$pip_args install PyPDF2" + Write-Output "Python-$archVer = $version" >> ~/versions.txt diff --git a/coin/provisioning/common/windows/python3.ps1 b/coin/provisioning/common/windows/python3.ps1 index e4ab667f..b2ad0ba8 100644 --- a/coin/provisioning/common/windows/python3.ps1 +++ b/coin/provisioning/common/windows/python3.ps1 @@ -86,5 +86,8 @@ $python3_wheel_dir="$install_path\python3-wheels" Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args wheel --wheel-dir $python3_wheel_dir -r $PSScriptRoot\..\shared\requirements.txt" Set-EnvironmentVariable "PYTHON3_WHEEL_CACHE" "$python3_wheel_dir" +# Install PyPDF2 for QSR documentation +Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install PyPDF2" + Write-Output "Python3-$archVer = $version" >> ~/versions.txt -- cgit v1.2.3