Skip to content

Commit bef6afa

Browse files
author
Christopher Doris
committed
better compatibility[skip ci]
1 parent 7ab345e commit bef6afa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pysrc/juliacall/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def args_from_config():
129129
CONFIG['opt_sysimage'] = sysimg = path_option('sysimage', check_exists=True)[0]
130130
CONFIG['opt_threads'] = int_option('threads', accept_auto=True)[0]
131131
CONFIG['opt_warn_overwrite'] = choice('warn_overwrite', ['yes', 'no'])[0]
132+
CONFIG['opt_handle_signals'] = 'no'
132133

133134
# Stop if we already initialised
134135
if CONFIG['inited']:
@@ -185,6 +186,7 @@ def jlstr(x):
185186
return 'raw"' + x.replace('"', '\\"').replace('\\', '\\\\') + '"'
186187
script = '''
187188
try
189+
Base.require(Main, :CompilerSupportLibraries_jll)
188190
import Pkg
189191
ENV["JULIA_PYTHONCALL_LIBPTR"] = {}
190192
ENV["JULIA_PYTHONCALL_EXE"] = {}

0 commit comments

Comments
 (0)