diff options
| author | Bert Belder <bertbelder@gmail.com> | 2018-10-22 03:47:34 +0200 |
|---|---|---|
| committer | Bert Belder <bertbelder@gmail.com> | 2018-10-23 16:29:46 +0200 |
| commit | 4ceb205512bbeb760c219306d6df7d6c1f12aa19 (patch) | |
| tree | 663ee52a26cada01af521d3a7f43db386d671c86 /.appveyor.yml | |
| parent | 5cf37c2f2018d51dd4d6498035c385f8ed0bf58f (diff) | |
Bundle pywin32 in third_party
Diffstat (limited to '.appveyor.yml')
| -rw-r--r-- | .appveyor.yml | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index df5fc870a..a69e7081e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -223,8 +223,6 @@ for: APPVEYOR_CACHE_SKIP_SAVE: true cache: - # Python packages installed with `pip --user`. - - $(APPDATA)\Python # Rust stuff. - $(CARGO_HOME) - $(RUSTUP_HOME) @@ -277,23 +275,11 @@ install: # Make sure the right Python version is in PATH, and others are not. - ps: |- # Remove the wrong Python version(s) from PATH. - $p = $env:PATH -split ";" | where { - -not (Test-Path "$_\python.exe") -and - -not (Test-Path "$_\pip.exe") - } - # Add binary dir for `pip --user` packages. - $p += "$env:APPDATA\Python\Scripts" + $p = $env:PATH -split ";" | where { -not (Test-Path "$_\python.exe") } # Add python27-x64. $p += "C:\Python27-x64" - $p += "C:\Python27-x64\Scripts" $env:PATH = $p -join ";" - # Pip on Appveyor is too old. Install a recent version in our user dir. - - python -m pip install --upgrade --user --no-cache-dir pip - - # Install Python packages. - - pip install --upgrade --user --no-cache-dir pywin32 yapf - # Add Rust/Cargo to PATH. - ps: $env:PATH += ";$env:CARGO_HOME\bin" @@ -338,7 +324,6 @@ install: "print 'Python', version") -join "`n" | & python - # Log some more versions. - - pip --version - rustc --version - cargo --version |
