Skip to content

Commit f831030

Browse files
committed
Fix is_dynamically_linked for macOS
See: https://travis-ci.org/JuliaPy/pyjulia/jobs/447296193#L1650
1 parent 4fe9397 commit f831030

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/test_compatible_exe.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,11 @@ def is_dynamically_linked(executable):
105105
universal_newlines=True,
106106
)
107107
print_completed_proc(proc)
108-
return "libpython" in proc.stdout or "/Python" in proc.stdout
108+
return (
109+
"libpython" in proc.stdout
110+
or "/Python" in proc.stdout
111+
or "/.Python" in proc.stdout
112+
)
109113
# TODO: support Windows
110114
return None
111115

0 commit comments

Comments
 (0)