diff options
author | Andrius Merkys <merkys@debian.org> | 2022-07-16 18:56:16 +0200 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2022-07-16 18:56:16 +0200 |
commit | 24b242dc780a89073bf46cbb5f67df7d546b0fb4 (patch) | |
tree | dc4b89ba6b0cf75033a047de9222a1a0fc5e2fbb | |
parent | 1441b5ff671f6188d90aea8611b0ba4fa83111a0 (diff) |
Fixing location of shared libraries.
Gbp-Pq: Name fix-_find_lib.patch
-rwxr-xr-x | epics/ca.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epics/ca.py b/epics/ca.py index 5c464ed..dec7c82 100755 --- a/epics/ca.py +++ b/epics/ca.py @@ -277,10 +277,10 @@ def _find_lib(inp_lib_name): return dllpath # Test 2: look in installed python location for dll - dllpath = resource_filename('epics.clibs', clib_search_path(inp_lib_name)) + ## dllpath = resource_filename('epics.clibs', clib_search_path(inp_lib_name)) - if (os.path.exists(dllpath) and os.path.isfile(dllpath)): - return dllpath + ## if (os.path.exists(dllpath) and os.path.isfile(dllpath)): + ## return dllpath # Test 3: look through Python path and PATH env var for dll path_sep = ':' |