File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
1212LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1313Markdown = " d6f4376e-aef5-505a-96c1-9c027394607a"
1414Requires = " ae029012-a4dd-5104-9daa-d747884805df"
15+ SnoopCompile = " aa65fe97-06da-5843-b5b1-d5d13cad87d2"
1516TableTraits = " 3783bdb8-4a98-5b6b-af9a-565f29a5fe9c"
1617Tables = " bd369af6-aec1-5ad0-b16a-f7cc5008161c"
1718UnsafePointers = " e17b2a0c-0bdf-430a-bd0c-3a23cae4ff39"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ check_libpath(PyCall) = begin
99 end
1010end
1111
12- @ init begin
12+ init () = begin
1313 # Check if libpython is already loaded (i.e. if the Julia interpreter was started from a Python process)
1414 CONFIG. isembedded = haskey (ENV , " JULIA_PYTHONCALL_LIBPTR" )
1515
327327
328328 @debug " Initialized PythonCall.jl" CONFIG. isembedded CONFIG. isinitialized CONFIG. exepath CONFIG. libpath CONFIG. libptr CONFIG. pyprogname CONFIG. pyhome CONFIG. version CONFIG. isconda CONFIG. condaenv
329329end
330+ precompile (init, ())
331+
332+ @init init ()
You can’t perform that action at this time.
0 commit comments