Skip to content

Commit 29641fb

Browse files
committed
Fix anaconda build
1 parent f771285 commit 29641fb

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/surf_ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ jobs:
125125
export PATH="${HOME}/miniconda/bin:$PATH"
126126
source ${HOME}/miniconda/etc/profile.d/conda.sh
127127
conda config --set always_yes yes
128+
conda config --set channel_priority strict
129+
conda update -n base -c conda-forge conda
130+
conda install -n base conda-libmamba-solver
131+
conda config --set solver libmamba
128132
conda install conda-build anaconda-client conda-verify
129133
conda update -q conda conda-build
130134
conda update --all

conda-recipe/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/bash
2-
3-
python setup.py install
2+
3+
pip3 install .
44

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

2-
from distutils.core import setup
2+
from setuptools import setup
3+
34
from git import Repo
45

56
repo = Repo()

0 commit comments

Comments
 (0)