mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
Fix pip issues on AppVeyor CI (#1369)
This commit is contained in:
parent
8edc147d67
commit
53782c08c0
@ -41,8 +41,8 @@ install:
|
|||||||
if ($env:PYTHON) {
|
if ($env:PYTHON) {
|
||||||
if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
|
if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
|
||||||
$env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH"
|
$env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH"
|
||||||
pip install --disable-pip-version-check --user --upgrade pip wheel
|
python -m pip install --upgrade pip wheel
|
||||||
pip install pytest numpy
|
python -m pip install pytest numpy --no-warn-script-location
|
||||||
} elseif ($env:CONDA) {
|
} elseif ($env:CONDA) {
|
||||||
if ($env:CONDA -eq "27") { $env:CONDA = "" }
|
if ($env:CONDA -eq "27") { $env:CONDA = "" }
|
||||||
if ($env:PLATFORM -eq "x64") { $env:CONDA = "$env:CONDA-x64" }
|
if ($env:PLATFORM -eq "x64") { $env:CONDA = "$env:CONDA-x64" }
|
||||||
|
Loading…
Reference in New Issue
Block a user