Skip to content

Commit 6b4d837

Browse files
committed
build debugging
1 parent 7652ec2 commit 6b4d837

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

deps/build.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
using CondaPkg
22
using PythonCall
3+
using Logging
34
packages = keys(CondaPkg.current_packages())
4-
if !("rmg" in packages) && !("rmgmolecule" in packages)
55

6+
@info "found packages $packages in CondaPkg"
7+
if !("rmg" in packages) && !("rmgmolecule" in packages)
8+
@info "missing rmg and rmgmolecule installing them"
69
if !(v"3.7" <= PythonCall.C.python_version() && PythonCall.C.python_version() <= v"3.9")
10+
@info "python version was not in 3.7-3.9 changing python version"
711
CondaPkg.add("python"; version="3.9")
812
end
913
CondaPkg.add("rmgmolecule"; version=">=0.3.0", channel="mjohnson541")
1014
CondaPkg.add("matplotlib", channel="conda-forge")
1115
CondaPkg.add("rdkit", channel="conda-forge")
1216
CondaPkg.add("pydot", channel="conda-forge")
1317
end
14-
18+
@info "building PythonCall"
1519
const Pkg = Base.require(Base.PkgId(Base.UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f"), "Pkg"))
1620
Pkg.build("PythonCall")

0 commit comments

Comments
 (0)