Skip to content

Commit a251cbb

Browse files
authored
Use glmnet_jll instead of BinaryProvider (#41)
1 parent d8cab55 commit a251cbb

File tree

6 files changed

+9
-129
lines changed

6 files changed

+9
-129
lines changed

.travis.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ os:
33
- linux
44
- osx
55
julia:
6-
- 0.7
7-
- 1.0
8-
- 1.1
9-
- 1.2
6+
- 1.3
107
- nightly
118
notifications:
129
email: false

Project.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ name = "GLMNet"
22
uuid = "8d5ece8b-de18-5317-b113-243142960cc6"
33
version = "0.4.2"
44

5-
[compat]
6-
julia = "0.7, 1.0"
7-
85
[deps]
9-
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
106
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
117
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
12-
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
138
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
149
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1510
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1611
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
12+
glmnet_jll = "78c6b45d-5eaf-5d68-bcfb-a5a2cb06c27f"
13+
14+
[compat]
15+
glmnet_jll = "5"
16+
julia = "1.3"
1717

1818
[extras]
1919
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

appveyor.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
environment:
22
matrix:
3-
- julia_version: 0.7
4-
- julia_version: 1
3+
- julia_version: 1.3
54
- julia_version: nightly
65

76
platform:

deps/.gitignore

-3
This file was deleted.

deps/build.jl

-102
This file was deleted.

src/GLMNet.jl

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1-
__precompile__()
2-
31
module GLMNet
2+
3+
using glmnet_jll
44
using Distributions, StatsBase
55
using Distributed, Printf, Random, SparseArrays
66

77

8-
depsjl = joinpath(@__DIR__, "..", "deps", "deps.jl")
9-
if isfile(depsjl)
10-
include(depsjl)
11-
else
12-
error("GLMNet not properly installed. Please run Pkg.build(\"GLMNet\") and restart julia")
13-
end
14-
15-
function __init__()
16-
check_deps()
17-
end
18-
198
import Base.getindex, Base.convert, Base.size, Base.show
209
export glmnet!, glmnet, nactive, predict, glmnetcv, GLMNetPath, GLMNetCrossValidation, CompressedPredictorMatrix
2110

0 commit comments

Comments
 (0)