Skip to content
Snippets Groups Projects
Commit 3b8e593f authored by calrama's avatar calrama
Browse files

[windows] move python block after vcpkg blocks

parent ab1ecfc3
Branches
No related tags found
No related merge requests found
...@@ -85,43 +85,3 @@ RUN cd $env:VCPKG_DIR; \ ...@@ -85,43 +85,3 @@ RUN cd $env:VCPKG_DIR; \
Remove-Item -Force -Recurse ./downloads; \ Remove-Item -Force -Recurse ./downloads; \
Remove-Item -Force -Recurse ./buildtrees; \ Remove-Item -Force -Recurse ./buildtrees; \
Remove-Item -Force -Recurse ./packages; Remove-Item -Force -Recurse ./packages;
RUN Must-Run choco install -y --allow-multiple-versions python --version 3.9.1; \
Must-Run choco install -y --allow-multiple-versions python --version 3.8.7; \
Must-Run choco install -y --allow-multiple-versions python --version 3.7.9; \
$env:PATH = "\"$([Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::User));$([Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine))\""; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
pytest \
pytest-cov \
testbook \
jupyter \
pandas \
h5py \
; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
pytest \
pytest-cov \
testbook \
jupyter \
pandas \
h5py \
; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
pytest \
pytest-cov \
testbook \
jupyter \
pandas \
h5py
...@@ -32,3 +32,43 @@ RUN cd $env:VCPKG_DIR; \ ...@@ -32,3 +32,43 @@ RUN cd $env:VCPKG_DIR; \
Remove-Item -Force -Recurse ./downloads; \ Remove-Item -Force -Recurse ./downloads; \
Remove-Item -Force -Recurse ./buildtrees; \ Remove-Item -Force -Recurse ./buildtrees; \
Remove-Item -Force -Recurse ./packages; Remove-Item -Force -Recurse ./packages;
RUN Must-Run choco install -y --allow-multiple-versions python --version 3.9.1; \
Must-Run choco install -y --allow-multiple-versions python --version 3.8.7; \
Must-Run choco install -y --allow-multiple-versions python --version 3.7.9; \
$env:PATH = "\"$([Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::User));$([Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine))\""; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
pytest \
pytest-cov \
testbook \
jupyter \
pandas \
h5py \
; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
pytest \
pytest-cov \
testbook \
jupyter \
pandas \
h5py \
; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
pytest \
pytest-cov \
testbook \
jupyter \
pandas \
h5py
...@@ -22,10 +22,42 @@ RUN cd $env:VCPKG_DIR; \ ...@@ -22,10 +22,42 @@ RUN cd $env:VCPKG_DIR; \
Remove-Item -Force -Recurse ./buildtrees; \ Remove-Item -Force -Recurse ./buildtrees; \
Remove-Item -Force -Recurse ./packages; Remove-Item -Force -Recurse ./packages;
RUN Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location \ RUN Must-Run choco install -y --allow-multiple-versions python --version 3.9.1; \
Must-Run choco install -y --allow-multiple-versions python --version 3.8.7; \
Must-Run choco install -y --allow-multiple-versions python --version 3.7.9; \
$env:PATH = "\"$([Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::User));$([Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine))\""; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python39/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
pytest \ pytest \
h5py pytest-cov \
testbook \
RUN Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location \ jupyter \
pandas \
h5py \
; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python38/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
pytest \
pytest-cov \
testbook \
jupyter \
pandas \
h5py \
; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location -U pip; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location 'cryptography<3.4'; \
Must-Run /Python37/python -m pip --no-cache-dir install --no-warn-script-location \
wheel \
twine \
pytest \ pytest \
pytest-cov \
testbook \
jupyter \
pandas \
h5py h5py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment