Skip to content

Commit

Permalink
test: realpath for pyiguana
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Jan 8, 2024
1 parent 77ad525 commit 608b5bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bind/python/pyiguana/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
if not pkgconfig.exists(pkg):
raise Exception(f'failed to find "{pkg}.pc" in pkg-config path')
pkg_info = {
'includedir': pkgconfig.variables(pkg)['includedir'],
'libdir': pkgconfig.variables(pkg)['libdir'],
'includedir': os.path.realpath(pkgconfig.variables(pkg)['includedir']),
'libdir': os.path.realpath(pkgconfig.variables(pkg)['libdir']),
}
print(f'DEBUG: pyiguana - add package {pkg}: {pkg_info}')
cppyy.add_include_path(pkg_info['includedir'])
Expand Down

0 comments on commit 608b5bd

Please sign in to comment.