File tree 1 file changed +0
-14
lines changed 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'):
299
299
return JuliaInfo (* args )
300
300
301
301
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
-
308
302
def is_compatible_exe (jlinfo , _debug = lambda * _ : None ):
309
303
"""
310
304
Determine if Python used by PyCall.jl is compatible with this Python.
@@ -329,14 +323,6 @@ def is_compatible_exe(jlinfo, _debug=lambda *_: None):
329
323
_debug (sys .executable , "is statically linked." )
330
324
return False
331
325
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
-
340
326
py_libpython = find_libpython ()
341
327
jl_libpython = normalize_path (jlinfo .libpython )
342
328
_debug ("py_libpython =" , py_libpython )
You can’t perform that action at this time.
0 commit comments