@@ -32,9 +32,10 @@ test-extras = ["test"]
32
32
33
33
[tool .cibuildwheel .linux ]
34
34
before-all = """
35
- yum install -y wget &&
36
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh &&
37
- bash miniconda.sh -b -p $HOME/miniconda &&
35
+ set -ex
36
+ yum install -y wget
37
+ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
38
+ bash miniconda.sh -b -p $HOME/miniconda
38
39
$HOME/miniconda/bin/conda install -y -c conda-forge sleef
39
40
ls -l $HOME/miniconda/include/sleef.h
40
41
"""
@@ -43,17 +44,17 @@ repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"
43
44
44
45
[tool .cibuildwheel .macos ]
45
46
before-all = """
46
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh &&
47
- bash miniconda.sh -b -p $HOME/miniconda &&
47
+ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
48
+ bash miniconda.sh -b -p $HOME/miniconda
48
49
$HOME/miniconda/bin/conda install -y -c conda-forge sleef
49
50
ls -l $HOME/miniconda/include/sleef.h
50
51
"""
51
52
environment = {DYLD_LIBRARY_PATH = " $HOME/miniconda/lib:$DYLD_LIBRARY_PATH" , LIBRARY_PATH = " $HOME/miniconda/lib:$LIBRARY_PATH" , CFLAGS = " -I$HOME/miniconda/include $CFLAGS" , CXXFLAGS = " -I$HOME/miniconda/include $CXXFLAGS" , LDFLAGS = " -L$HOME/miniconda/lib $LDFLAGS" }
52
53
53
54
[tool .cibuildwheel .windows ]
54
55
before-all = """
55
- powershell -Command "Invoke-WebRequest -Uri https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -OutFile miniconda.exe" &&
56
- start /wait "" miniconda.exe /S /D=%UserProfile%\\ Miniconda3 &&
56
+ powershell -Command "Invoke-WebRequest -Uri https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -OutFile miniconda.exe"
57
+ start /wait "" miniconda.exe /S /D=%UserProfile%\\ Miniconda3
57
58
%UserProfile%\\ Miniconda3\\ Scripts\\ conda install -y -c conda-forge sleef
58
59
"""
59
60
before-build = " pip install delvewheel"
0 commit comments