File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -299,12 +299,6 @@ def juliainfo(runtime='julia'):
299299 return JuliaInfo (* args )
300300
301301
302- def is_same_path (a , b ):
303- a = os .path .realpath (os .path .normcase (a ))
304- b = os .path .realpath (os .path .normcase (b ))
305- return a == b
306-
307-
308302def is_compatible_exe (jlinfo , _debug = lambda * _ : None ):
309303 """
310304 Determine if Python used by PyCall.jl is compatible with this Python.
@@ -329,14 +323,6 @@ def is_compatible_exe(jlinfo, _debug=lambda *_: None):
329323 _debug (sys .executable , "is statically linked." )
330324 return False
331325
332- # Note that the following check is OK since statically linked case
333- # is already excluded.
334- if is_same_path (jlinfo .pyprogramname , sys .executable ):
335- # In macOS and Windows, find_libpython does not work as good
336- # as in Linux. We add this shortcut so that PyJulia can work
337- # in those environments.
338- return True
339-
340326 py_libpython = find_libpython ()
341327 jl_libpython = normalize_path (jlinfo .libpython )
342328 _debug ("py_libpython =" , py_libpython )
You can’t perform that action at this time.
0 commit comments