Changeset 1002 for trunk/bindings/python/nxs.py
- Timestamp:
- 01/07/08 16:47:30 (4 years ago)
- File:
-
- 1 edited
-
trunk/bindings/python/nxs.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bindings/python/nxs.py
r999 r1002 185 185 Load the NeXus library whereever it may be. 186 186 """ 187 # this will get changed as part of the install process 188 # it should correspond to --prefix specified to ./configure 189 nxprefix = '/usr/local' 187 190 # NEXUSLIB takes precedence 188 191 if 'NEXUSLIB' in os.environ: … … 210 213 # Search the load library path as well as the standard locations 211 214 ldpath = [p for p in os.environ.get(ldenv,'').split(':') if p != ''] 212 stdpath = [ '/usr/local/lib','/usr/lib']215 stdpath = [ nxprefix+'/lib', '/usr/local/lib', '/usr/lib'] 213 216 files += [os.path.join(p,lib) for p in [filedir]+ldpath+stdpath] 214 217
Note: See TracChangeset
for help on using the changeset viewer.
