Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
hwpang committed Mar 29, 2024
1 parent 685b56a commit 5154019
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,15 @@ if !("rmg" in packages) && !("rmgmolecule" in packages)
CondaPkg.add_channel("defaults")
CondaPkg.add_channel("conda-forge")
CondaPkg.add_channel("mjohnson541")

if !(v"3.7" <= PythonCall.C.python_version() && PythonCall.C.python_version() <= v"3.9")
CondaPkg.add("python"; version="3.9")
end
CondaPkg.add("rmgmolecule"; version=">=0.3.0")
end
if !(v"3.7" <= PythonCall.C.python_version() && PythonCall.C.python_version() <= v"3.9")
CondaPkg.add("python"; version="3.9")
end
if !("matplotlib" in packages)
CondaPkg.add("matplotlib")
end
if !("rdkit" in packages)
CondaPkg.add("rdkit")
end
if !("pydot" in packages)
CondaPkg.add("pydot")
end

const Pkg = Base.require(Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg"))
Pkg.build("PythonCall")

0 comments on commit 5154019

Please sign in to comment.