Skip to content

Commit

Permalink
Make conda-forge the default channel (#197 | GRIDEDIT-1560)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-el-sayed authored Dec 5, 2024
1 parent ba6be16 commit ecf73ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

DOCKER_CONDA_ENV="docker_conda_env"

# set default channel
conda config --add channels conda-forge
conda config --remove channels defaults

# create conda env and activate it
conda create -y --force -n "${DOCKER_CONDA_ENV}" python="${PYTHON_VERSION}" pip
. activate "${DOCKER_CONDA_ENV}"
Expand Down Expand Up @@ -42,4 +46,4 @@ python setup.py bdist_wheel || error "[setup] Building the wheel failed"

cp ./dist/wheelhouse/*.whl .

remove_conda_env
remove_conda_env

0 comments on commit ecf73ad

Please sign in to comment.