Skip to content

Commit b960a29

Browse files
committed
update
1 parent ed2fb1e commit b960a29

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/make.jl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
import Logging
22
Logging.disable_logging(Logging.Warn)
33

4+
using CondaPkg
5+
using PythonCall
6+
packages = keys(CondaPkg.current_packages())
7+
if !("rmg" in packages) && !("rmgmolecule" in packages)
8+
CondaPkg.add("rmgmolecule"; version=">=0.3.0", channel="mjohnson541")
9+
end
10+
if !(v"3.7" <= PythonCall.C.python_version() && PythonCall.C.python_version() <= v"3.9")
11+
CondaPkg.add("python"; version="3.9")
12+
end
13+
if !("matplotlib" in packages)
14+
CondaPkg.add("matplotlib")
15+
end
16+
if !("rdkit" in packages)
17+
CondaPkg.add("rdkit")
18+
end
19+
if !("pydot" in packages)
20+
CondaPkg.add("pydot")
21+
end
22+
const Pkg = Base.require(Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg"))
23+
Pkg.build("PythonCall")
24+
425
using Documenter, ReactionMechanismSimulator
526

627
makedocs(

0 commit comments

Comments
 (0)