mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Enforce Python37 in the creation of virtualenv
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
be807a0be8
commit
8d5023e1ca
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
# http://git-scm.com/download/win
|
# http://git-scm.com/download/win
|
||||||
#
|
#
|
||||||
# 2. Install Python 3.7.2:
|
# 2. Install Python 3.7.x:
|
||||||
#
|
#
|
||||||
# https://www.python.org/downloads/
|
# https://www.python.org/downloads/
|
||||||
#
|
#
|
||||||
@ -39,7 +39,7 @@ if (Test-Path venv) {
|
|||||||
Get-ChildItem -Recurse -Include *.pyc | foreach ($_) { Remove-Item $_.FullName }
|
Get-ChildItem -Recurse -Include *.pyc | foreach ($_) { Remove-Item $_.FullName }
|
||||||
|
|
||||||
# Create virtualenv
|
# Create virtualenv
|
||||||
virtualenv .\venv
|
virtualenv -p C:\Python37\python.exe .\venv
|
||||||
|
|
||||||
# pip and pyinstaller generate lots of warnings, so we need to ignore them
|
# pip and pyinstaller generate lots of warnings, so we need to ignore them
|
||||||
$ErrorActionPreference = "Continue"
|
$ErrorActionPreference = "Continue"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user