Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelforget committed Aug 16, 2024
1 parent 720847d commit ee5d409
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ ENV["DATADEPS_ALWAYS_ACCEPT"]=true
Climatology.MITPROFclim_download()

if Sys.ARCH!==:aarch64
tmpfile=joinpath(tempdir(),"pythonpath.txt")
run(pipeline(`which python`,tmpfile)) #external python path
ENV["PYTHON"]=readline(tmpfile)
#ENV["PYTHON"]=""
if false #external python path
tmpfile=joinpath(tempdir(),"pythonpath.txt")
run(pipeline(`which python`,tmpfile))
ENV["PYTHON"]=readline(tmpfile)
else #internal python path
ENV["PYTHON"]=""
end
using Pkg; Pkg.build("PyCall")

using PyCall, Conda
Expand Down

0 comments on commit ee5d409

Please sign in to comment.