File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 1
1
using PyCall
2
- if PyCall. pyversion. major != 3 || PyCall. pyversion. minor != 7
3
- using Conda
2
+ using Conda
3
+ packages = Conda. _installed_packages ()
4
+ if ! (" rmg" in packages) && ! (" rmgmolecule" in packages) && (PyCall. pyversion. major != 3 || PyCall. pyversion. minor != 8 )
4
5
const Pkg = Base. require (Base. PkgId (Base. UUID (" 44cfe95a-1eb2-52ea-b672-e2afdf69b78f" ), " Pkg" ))
5
- Conda. rm (" mamba" )
6
- Conda. add (" conda=4" )
7
- Conda. add (" mamba" )
8
- Conda. update ()
9
- Conda. add (" python=3.7" )
6
+ Conda. add (" python=3.8" )
10
7
try
11
8
Conda. rm (" numpy" ) # get around MKL problem
12
9
catch e
13
10
end
14
11
Conda. add (" nomkl" )
15
12
Conda. add (" numpy" )
16
- packages = Conda. _installed_packages ()
17
- if ! (" rmg" in packages) && ! (" rmgmolecule" in packages) # if rmg and rmgmolecule not present install molecule
18
- Conda. add_channel (" hwpang" )
19
- Conda. add (" rmgmolecule" )
20
- end
13
+ Conda. add_channel (" hwpang" )
14
+ Conda. add (" rmgmolecule" )
21
15
Pkg. build (" PyCall" )
22
16
end
You can’t perform that action at this time.
0 commit comments