Skip to content

Commit 8121294

Browse files
committed
[REMOVE] Debug library paths on Windows.
1 parent 3eb54b1 commit 8121294

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bindings/pyroot/cppyy/cppyy/python/cppyy/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@
7070
if "win32" in sys.platform:
7171
cppyy_path = os.path.dirname(__file__)
7272
os.add_dll_directory(cppyy_path)
73-
os.add_dll_directory(os.path.dirname(cppyy_path))
73+
result = os.add_dll_directory(os.path.dirname(cppyy_path))
74+
print("***** Exec path:", os.get_exec_path())
75+
print(result)
76+
for path in [cppyy_path, os.path.dirname(cppyy_path), os.path.dirname(os.path.dirname(cppyy_path)), '.']:
77+
print("*** Listing", path, os.system.listdir(path))
7478

7579
# import separately instead of in the above try/except block for easier to
7680
# understand tracebacks

0 commit comments

Comments
 (0)