Add build.jl

master
Alinson S. Xavier 5 years ago
parent 9b9f4d968d
commit ebc0b70441

1
.gitignore vendored

@ -8,3 +8,4 @@ deps/src/
deps/usr/ deps/usr/
docs/build/ docs/build/
docs/site/ docs/site/
.ipy*

@ -5,6 +5,7 @@ version = "0.1.0"
[deps] [deps]
CPLEX = "a076750e-1247-5638-91d2-ce28b192dca0" CPLEX = "a076750e-1247-5638-91d2-ce28b192dca0"
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
Gurobi = "2e9cd046-0924-5485-92f1-d5272153d98b" Gurobi = "2e9cd046-0924-5485-92f1-d5272153d98b"
JSON2 = "2535ab7d-5cd8-5a07-80ac-9b1792aadce3" JSON2 = "2535ab7d-5cd8-5a07-80ac-9b1792aadce3"
JuMP = "4076af6c-e467-56ae-b986-b466b2749572" JuMP = "4076af6c-e467-56ae-b986-b466b2749572"

6
deps/build.jl vendored

@ -0,0 +1,6 @@
using Conda
ENV["PATH"] *= ";" * joinpath(Conda.ROOTENV, "Scripts")
ENV["PATH"] *= ";" * joinpath(Conda.ROOTENV, "Library", "bin")
pip = joinpath(Conda.ROOTENV, "Scripts", "pip")
run(`$pip install miplearn==0.1.0`)
Loading…
Cancel
Save