Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python package name consolidation #30

Merged
merged 1 commit into from
Feb 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Python package name consolidation
tmi committed Dec 16, 2024
commit a322155dee34fc6b1a6b37f6280661130b26f19c
4 changes: 3 additions & 1 deletion src/codc/lib.py
Original file line number Diff line number Diff line change
@@ -45,7 +45,9 @@ class PatchedLib:
def __init__(self):
ffi.cdef(self.__read_header())

library_path = findlibs.find("odccore", pkg_name="odc")
library_path = findlibs.find("odccore", pkg_name="odclib")
if library_path is None:
library_path = findlibs.find("odccore", pkg_name="odc")
if library_path is None:
raise RuntimeError("Cannot find the odccore library")