diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-12-26 19:55:18 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-12-26 19:55:18 +0100 |
commit | 27353388157adda3d22000fcf146fe599f4f9a6f (patch) | |
tree | a0ff0459c8dfaecc75601f2816289f593a467f58 /dev.ps1 | |
parent | 4b1224e592aa5e0aac3db48d0e15da92e47faeae (diff) | |
download | mitmproxy-27353388157adda3d22000fcf146fe599f4f9a6f.tar.gz mitmproxy-27353388157adda3d22000fcf146fe599f4f9a6f.tar.bz2 mitmproxy-27353388157adda3d22000fcf146fe599f4f9a6f.zip |
update windows dev script
Diffstat (limited to 'dev.ps1')
-rw-r--r-- | dev.ps1 | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,12 @@ $ErrorActionPreference = "Stop" $VENV = ".\venv" -python3 -m venv $VENV --copies +$pyver = python --version +if($pyver -notmatch "3\.[5-9]") { + Write-Warning "Unexpected Python version, expected Python 3.5 or above: $pyver" +} + +python -m venv $VENV --copies & $VENV\Scripts\activate.ps1 python -m pip install --disable-pip-version-check -U pip |