Skip to content

Commit

Permalink
disable auto_update_conda (#243)
Browse files Browse the repository at this point in the history
* disable auto_update_conda

* revert write file in build step

* config after installing conda

* use sys condarc

either .condarc or condarc-julia.yml should work, but it might be more clear to use .condarc in ROOTENV

* Revert "use sys condarc"

This reverts commit 49574be.
  • Loading branch information
szcf-weiya authored Aug 22, 2023
1 parent 79c5487 commit 362d895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Conda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ https://github.com/JuliaPy/Conda.jl.
if Sys.iswindows()
run(Cmd(`$installer /S --no-shortcuts /NoRegistry=1 /AddToPath=0 /RegisterPython=0 /D=$PREFIX`, windows_verbatim=true))
end
write("$PREFIX/condarc-julia.yml", "auto_update_conda: false")
end
if !isdir(prefix(env))
create(env)
Expand Down

0 comments on commit 362d895

Please sign in to comment.