Skip to content

Commit 685b56a

Browse files
committed
Add channels in build
1 parent 0c9dc43 commit 685b56a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

deps/build.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,22 @@ using CondaPkg
22
using PythonCall
33
packages = keys(CondaPkg.current_packages())
44
if !("rmg" in packages) && !("rmgmolecule" in packages)
5-
CondaPkg.add("rmgmolecule"; version=">=0.3.0", channel="mjohnson541")
5+
CondaPkg.add_channel("defaults")
6+
CondaPkg.add_channel("conda-forge")
7+
CondaPkg.add_channel("mjohnson541")
8+
CondaPkg.add("rmgmolecule"; version=">=0.3.0")
69
end
710
if !(v"3.7" <= PythonCall.C.python_version() && PythonCall.C.python_version() <= v"3.9")
811
CondaPkg.add("python"; version="3.9")
912
end
1013
if !("matplotlib" in packages)
11-
CondaPkg.add("matplotlib"; channel="conda-forge")
14+
CondaPkg.add("matplotlib")
1215
end
1316
if !("rdkit" in packages)
14-
CondaPkg.add("rdkit"; channel="conda-forge")
17+
CondaPkg.add("rdkit")
1518
end
1619
if !("pydot" in packages)
17-
CondaPkg.add("pydot"; channel="anaconda")
20+
CondaPkg.add("pydot")
1821
end
1922
const Pkg = Base.require(Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg"))
2023
Pkg.build("PythonCall")

0 commit comments

Comments
 (0)