diff options
author | mattip <matti.picus@gmail.com> | 2019-06-13 10:53:46 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-06-16 23:29:16 +0300 |
commit | 9fe7fec9a68c250b462a9cffdcdce185daaa9020 (patch) | |
tree | 6c28f248b4e3508284dba8a9cecc5caba2c576ae /azure-pipelines.yml | |
parent | 90ee55557537f5fc2f02cca57f43f8494a5c497d (diff) | |
download | numpy-9fe7fec9a68c250b462a9cffdcdce185daaa9020.tar.gz |
BUILD: use openblas_support.py from numpy-wheels to create _distributor_init.py
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7454cb63e..59b9944d4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -172,6 +172,10 @@ jobs: architecture: $(PYTHON_ARCH) - script: python -m pip install --upgrade pip setuptools wheel displayName: 'Install tools' + - script: python -m pip install cython nose pytz pytest + displayName: 'Install dependencies; some are optional to avoid test skips' + - script: if [%INSTALL_PICKLE5%]==[1] python -m pip install pickle5 + displayName: 'Install optional pickle5 backport (only for python3.6 and 3.7)' - powershell: | $wc = New-Object net.webclient $wc.Downloadfile("$(OPENBLAS)", "openblas.zip") @@ -187,12 +191,15 @@ jobs: choco install -y mingw --forcex86 --force --version=5.3.0 displayName: 'Install 32-bit mingw for 32-bit builds' condition: eq(variables['BITS'], 32) - - script: python -m pip install cython nose pytz pytest - displayName: 'Install dependencies; some are optional to avoid test skips' + - powershell: | + $wc = New-Object net.webclient + $gh_base = "https://raw.githubusercontent.com/MacPython/numpy-wheels/master/" + $wc.Downloadfile($gh_base + "openblas_support.py", "$pwd\openblas_support.py") + python -c "import openblas_support; openblas_support.make_init('numpy')" + del openblas_support.py + displayName: 'Create _distributor_init.py for OpenBlas' # NOTE: for Windows builds it seems much more tractable to use runtests.py # vs. manual setup.py and then runtests.py for testing only - - script: if [%INSTALL_PICKLE5%]==[1] python -m pip install pickle5 - displayName: 'Install optional pickle5 backport (only for python3.6 and 3.7)' - powershell: | If ($(BITS) -eq 32) { $env:NPY_DISTUTILS_APPEND_FLAGS = 1 |