We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 061a57a commit da52c05Copy full SHA for da52c05
src/DataDeps.jl
@@ -35,6 +35,7 @@ datadeps_scratch_dir = ""
35
36
function __init__()
37
global datadeps_scratch_dir = @get_scratch!("datadeps")
38
+ pushfirst!(standard_loadpath, datadeps_scratch_dir)
39
end
40
41
function _precompile_()
src/locations.jl
@@ -15,7 +15,8 @@ const standard_loadpath = joinpath.([
15
"/usr/share", "/usr/local/share"] # Unix Filestructure
16
end], "datadeps")
17
18
-pushfirst!(standard_loadpath, joinpath(Base.DEPOT_PATH, "datadeps"))
+# NOTE: the scratchspace is pushed to the front during __init__()
19
+
20
21
# ensure at least something in the loadpath exists when instaleld
22
mkpath(first(standard_loadpath))
0 commit comments