File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,14 @@ if [ "${INTERFACE64}" != "1" ]; then
36
36
# rewrite the name of the project to scipy_openblas32
37
37
# this is a hack, but apparently there is no other way to change the name
38
38
# of a pyproject.toml project
39
- sed -e " s/openblas64/openblas32/" -i pyproject.toml
39
+ #
40
+ # use the BSD variant of sed -i and remove the backup
41
+ sed -e " s/openblas64/openblas32/" -i.bak pyproject.toml
42
+ rm * .bak
40
43
mv local/scipy_openblas64 local/scipy_openblas32
41
- sed -e " s/openblas_get_config64_/openblas_get_config/" -i local/scipy_openblas32/__init__.py
42
- sed -e " s/openblas64/openblas32/" -i local/scipy_openblas32/__main__.py
44
+ sed -e " s/openblas_get_config64_/openblas_get_config/" -i.bak local/scipy_openblas32/__init__.py
45
+ sed -e " s/openblas64/openblas32/" -i.bak local/scipy_openblas32/__main__.py
46
+ rm local/scipy_openblas32/* .bak
43
47
fi
44
48
45
49
python3.7 -m pip wheel -w dist -vv .
You can’t perform that action at this time.
0 commit comments