Skip to content

Commit

Permalink
better compatibility[skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Doris committed Aug 18, 2022
1 parent 7ab345e commit bef6afa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pysrc/juliacall/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def args_from_config():
CONFIG['opt_sysimage'] = sysimg = path_option('sysimage', check_exists=True)[0]
CONFIG['opt_threads'] = int_option('threads', accept_auto=True)[0]
CONFIG['opt_warn_overwrite'] = choice('warn_overwrite', ['yes', 'no'])[0]
CONFIG['opt_handle_signals'] = 'no'

# Stop if we already initialised
if CONFIG['inited']:
Expand Down Expand Up @@ -185,6 +186,7 @@ def jlstr(x):
return 'raw"' + x.replace('"', '\\"').replace('\\', '\\\\') + '"'
script = '''
try
Base.require(Main, :CompilerSupportLibraries_jll)
import Pkg
ENV["JULIA_PYTHONCALL_LIBPTR"] = {}
ENV["JULIA_PYTHONCALL_EXE"] = {}
Expand Down

0 comments on commit bef6afa

Please sign in to comment.