Skip to content

Commit bc60023

Browse files
committed
Add CondaPkg.toml and specify channels for packages
1 parent ee3db01 commit bc60023

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

CondaPkg.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
channels = ["defaults", "mjohnson541", "rmg", "conda-forge", "cantera"]

deps/build.jl

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ using CondaPkg
22
using PythonCall
33
packages = keys(CondaPkg.current_packages())
44
if !("rmg" in packages) && !("rmgmolecule" in packages)
5-
CondaPkg.add_channel("defaults")
6-
CondaPkg.add_channel("conda-forge")
7-
CondaPkg.add_channel("mjohnson541")
85

96
if !(v"3.7" <= PythonCall.C.python_version() && PythonCall.C.python_version() <= v"3.9")
107
CondaPkg.add("python"; version="3.9")
118
end
12-
CondaPkg.add("rmgmolecule"; version=">=0.3.0")
13-
CondaPkg.add("matplotlib")
14-
CondaPkg.add("rdkit")
15-
CondaPkg.add("pydot")
9+
CondaPkg.add("rmgmolecule"; version=">=0.3.0", channel="mjohnson541")
10+
CondaPkg.add("matplotlib", channel="conda-forge")
11+
CondaPkg.add("rdkit", channel="conda-forge")
12+
CondaPkg.add("pydot", channel="conda-forge")
1613
end
1714

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

0 commit comments

Comments
 (0)