Update dev.ps1

This commit is contained in:
Thomas Kriechbaumer 2018-03-31 23:45:33 +02:00 committed by GitHub
parent 53827a36ae
commit b5c3883b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,8 @@
$ErrorActionPreference = "Stop"
$pyver = python --version
if($pyver -notmatch "3\.[5-9]") {
Write-Warning "Unexpected Python version, expected Python 3.5 or above: $pyver"
if($pyver -notmatch "3\.[6-9]") {
Write-Warning "Unexpected Python version, expected Python 3.6 or above: $pyver"
}
python -m venv .\venv --copies
@ -17,4 +17,4 @@ echo @"
* Installed all dependencies into the virtualenv.
* Activated virtualenv environment.
"@
"@