Add build.jl

This commit is contained in:
2020-08-29 12:51:56 -05:00
parent 9b9f4d968d
commit ebc0b70441
3 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

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

View File

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

6
deps/build.jl vendored Normal file
View File

@@ -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`)