Skip to content

Commit

Permalink
Use JLL package
Browse files Browse the repository at this point in the history
  • Loading branch information
helgee committed Aug 2, 2020
1 parent e2529fa commit 6533022
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 57 deletions.
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ uuid = "5bab7191-041a-5c2e-a744-024b9c3a5062"
version = "0.1.1"

[deps]
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
CSPICE_jll = "07f52509-e9d9-513c-a20d-3b911885bf96"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

[compat]
julia = "≥ 0.7.0"
julia = "1.3"
CSPICE_jll = "66"

[extras]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
48 changes: 0 additions & 48 deletions deps/build.jl

This file was deleted.

9 changes: 2 additions & 7 deletions src/SPICE.jl
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
module SPICE

export SpiceError
using CSPICE_jll

deps = abspath(joinpath(splitdir(@__FILE__)[1], "..", "deps", "deps.jl"))
if isfile(deps)
include(deps)
else
error("libcspice was not found. Please run 'Pkg.build(\"SPICE\").")
end
export SpiceError

function __init__()
# Set error handling to return on error
Expand Down

0 comments on commit 6533022

Please sign in to comment.