@@ -27,36 +27,10 @@ test = [
27
27
[tool .cibuildwheel ]
28
28
archs = [" auto64" ]
29
29
skip = [" *-musllinux*" , " pp*" , " cp36-*" , " cp37-*" , " cp38-*" ]
30
- environment = { PATH = " $PATH:/usr/share/miniconda3/bin" }
31
30
32
- [tool .cibuildwheel .linux ]
33
- before-all = """
34
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
35
- bash miniconda.sh -b -p /usr/share/miniconda3
36
- export PATH="/usr/share/miniconda3/bin:$PATH"
37
- conda config --add channels conda-forge
38
- conda config --set channel_priority strict
39
- conda install -y sleef
40
- """
41
-
42
- [tool .cibuildwheel .macos ]
43
- before-all = """
44
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
45
- bash miniconda.sh -b -p $HOME/miniconda3
46
- export PATH="$HOME/miniconda3/bin:$PATH"
47
- conda config --add channels conda-forge
48
- conda config --set channel_priority strict
49
- conda install -y sleef
50
- """
31
+ # The environment variable ensures the conda installation is available
32
+ environment = { PATH = " $CONDA_PREFIX/bin:$PATH" , LD_LIBRARY_PATH = " $CONDA_PREFIX/lib:$LD_LIBRARY_PATH" }
51
33
52
34
[tool .cibuildwheel .windows ]
53
- before-all = """
54
- powershell -Command "(New-Object Net.WebClient).DownloadFile('https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe', 'miniconda.exe')"
55
- start /wait "" miniconda.exe /S /D=C:\\ Miniconda3
56
- set PATH=C:\\ Miniconda3;C:\\ Miniconda3\\ Scripts;%PATH%
57
- conda config --add channels conda-forge
58
- conda config --set channel_priority strict
59
- conda install -y sleef
60
- """
61
35
before-build = " pip install delvewheel"
62
36
repair-wheel-command = " delvewheel repair -w {dest_dir} {wheel}"
0 commit comments