This repository was archived by the owner on Aug 30, 2024. It is now read-only.
File tree 2 files changed +15
-2
lines changed 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 71
71
before_install
72
72
73
73
clean_code $REPO_DIR $BUILD_COMMIT
74
+ ./patch_code.sh $REPO_DIR
74
75
build_wheel $REPO_DIR $PLAT
75
76
displayName: Build wheel
76
77
condition: eq(variables['SKIP_BUILD'], 'false')
Original file line number Diff line number Diff line change 63
63
- bash : |
64
64
set -e
65
65
pushd numpy
66
- pip install twine wheel
66
+ pip install twine wheel urllib3
67
+ # a bit overkill, all we really need is cython
67
68
pip install --timeout=60 -r test_requirements.txt
69
+
70
+ # handle license
71
+ cp ../LICENSE_win32.txt LICENSE.txt
72
+
73
+ # Download and install static "openblas.a" to PYTHON/lib
74
+ PYTHON_DIR=$(python -c"import sys, os; print(os.path.dirname(sys.executable))")
75
+ LIB=$(python tools/openblas_support.py)
76
+ echo Copying $LIB to $PYTHON_DIR/lib
77
+ cp $LIB $PYTHON_DIR/lib/openblas.a
78
+
79
+ # Build the wheel
68
80
python setup.py build
69
81
python setup.py bdist_wheel
70
82
ls dist
77
89
source extra_functions.sh
78
90
source config.sh
79
91
setup_test_venv
80
- pip install -r test_requirements.txt
92
+ pip install -r numpy/ test_requirements.txt
81
93
pip install numpy/dist/numpy-*.whl
82
94
run_tests
83
95
teardown_test_venv
You can’t perform that action at this time.
0 commit comments