Skip to content

Commit

Permalink
add CondaPkg.toml for default env
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Nov 1, 2024
1 parent 1771d8b commit 0148d00
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CondaPkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[deps]
python = ">3.8"
matplotlib = ""

[pip.deps]
devito = ">=4.8.11"
pyrevolve = "==2.2.4"
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 1 addition & 5 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
return
end

pk = try
Expand Down

0 comments on commit 0148d00

Please sign in to comment.