Skip to content

Commit

Permalink
finally
Browse files Browse the repository at this point in the history
  • Loading branch information
Koeng101 committed Aug 11, 2024
1 parent 1b57adf commit c79b670
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions py/dnadesign/cffi_bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@

lib_path = os.path.join(current_dir, lib_name)

print(f"Python version: {sys.version}")
print(f"Platform: {sys.platform}")
print(f"Machine: {platform.machine()}")
print(f"Looking for library: {lib_path}")
print(f"Directory contents: {os.listdir(os.path.dirname(__file__))}")
print(f"LD_LIBRARY_PATH: {os.environ.get('LD_LIBRARY_PATH', 'Not set')}")

# Read the C declarations from an external file
with open(definitions_path, 'r') as f:
ffi.cdef(f.read())
Expand Down

0 comments on commit c79b670

Please sign in to comment.