From 5a2cf8f212dcbda11f5c983c2baa510f2b0768ed Mon Sep 17 00:00:00 2001 From: mloubout Date: Fri, 1 Nov 2024 14:44:32 -0400 Subject: [PATCH] add CondaPkg.toml for default env --- CondaPkg.toml | 7 +++++++ Project.toml | 2 +- deps/build.jl | 6 +----- 3 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 CondaPkg.toml diff --git a/CondaPkg.toml b/CondaPkg.toml new file mode 100644 index 00000000..8426b977 --- /dev/null +++ b/CondaPkg.toml @@ -0,0 +1,7 @@ +[deps] +python = ">3.8" +matplotlib = "" + +[pip.deps] +devito = ">=4.8.11" +pyrevolve = "==2.2.4" \ No newline at end of file diff --git a/Project.toml b/Project.toml index 745d35b7..19c58c9c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "JUDI" uuid = "f3b833dc-6b2e-5b9c-b940-873ed6319979" authors = ["Philipp Witte, Mathias Louboutin"] -version = "4.0.1" +version = "4.0.2" [deps] ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" diff --git a/deps/build.jl b/deps/build.jl index cfd58063..cbda4f3a 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -8,11 +8,7 @@ end if PythonCall.C.CondaPkg.backend() == :Null pyexe = PythonCall.python_executable_path() else - @info "Using $(PythonCall.C.CondaPkg.backend()) as the CondaPkg backend" - pyexe = PythonCall.C.CondaPkg.withenv() do - condapy = PythonCall.C.CondaPkg.which("python") - return condapy - end + exit() end pk = try