Changeset 1002
- Timestamp:
- 01/07/08 16:47:30 (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
autogen.sh (modified) (1 diff)
-
autoversion.sh (modified) (1 diff)
-
bindings/python/Makefile.am (modified) (1 diff)
-
bindings/python/nxs.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/autogen.sh
r835 r1002 42 42 43 43 case $automakeversion in 44 *1.[4-9]*) 44 *1.[4-9].*) 45 ;; 46 *1.1[0-9].*) 45 47 ;; 46 48 *) -
trunk/autoversion.sh
r351 r1002 1 1 #!/bin/sh 2 2 3 for automake in automake-1. 9 automake-1.8 automake-1.7 automake-1.6 automake-1.5 automake-1.4 automake ; do3 for automake in automake-1.10 automake-1.9 automake-1.8 automake-1.7 automake-1.6 automake-1.5 automake-1.4 automake ; do 4 4 AUTOMAKE=`which $automake 2>/dev/null | grep -v '^no'` 5 5 if test "$AUTOMAKE" ; then -
trunk/bindings/python/Makefile.am
r1000 r1002 31 31 pydocdir = $(NXDOCDIR)/python 32 32 pydoc_DATA = README.html 33 p ython_PYTHON = nxs.py setup.py nxstest.py33 pkgpython_PYTHON = nxs.py setup.py nxstest.py 34 34 EXTRA_DIST = README.html 35 35 36 #install-data-hook : 37 # python setup.py install --root=$(DESTDIR) 36 install-data-hook : 37 sed -e "s|nxprefix = .*|nxprefix = \'${prefix}\'|" < ${srcdir}/nxs.py > $(DESTDIR)${pkgpythondir}/nxs.py 38 39 # python setup.py install --root=$(DESTDIR) 38 40 39 41 include $(top_srcdir)/build_rules.am -
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.
