Changeset 1132


Ignore:
Timestamp:
02/12/08 18:57:40 (3 years ago)
Author:
Freddie Akeroyd
Message:

Update for python distribution files. Refs #101.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/python/Makefile.am

    r1117 r1132  
    3131pydocdir        = $(NXDOCDIR)/python 
    3232pydoc_DATA      = README.html 
    33 pkgpython_PYTHON = nxs.py setup.py nxstest.py nexus.py nxsunit.py 
     33nxspythondir    = $(pkgpythondir)/nxs 
     34pkgpython_PYTHON = nxstest.py 
     35nxspython_PYTHON = nxs 
    3436EXTRA_DIST      = README.html 
    3537 
    3638install-data-hook : 
    37         sed -e "s|nxprefix = .*|nxprefix = \'${prefix}\'|" < ${srcdir}/nxs.py > $(DESTDIR)${pkgpythondir}/nxs.py 
     39        sed -e "s|nxprefix = .*|nxprefix = \'${prefix}\'|" < ${srcdir}/nxs/napi.py > $(DESTDIR)${nxspythondir}/napi.py 
    3840 
    3941# python setup.py install --root=$(DESTDIR) 
  • trunk/contrib/bindings/python/Makefile.am

    r1127 r1132  
    3030 
    3131pydocdir        = $(NXDOCDIR)/python 
    32 pydoc_DATA      = README.html 
    33 pkgpython_PYTHON = nxs.py setup.py nxstest.py nexus.py nxsunit.py 
    34 EXTRA_DIST      = README.html 
     32### pydoc_DATA  = README.html 
     33### pkgpython_PYTHON = nxs.py setup.py nxstest.py nexus.py nxsunit.py 
     34### EXTRA_DIST  = README.html 
    3535 
    36 install-data-hook : 
    37         sed -e "s|nxprefix = .*|nxprefix = \'${prefix}\'|" < ${srcdir}/nxs.py > $(DESTDIR)${pkgpythondir}/nxs.py 
     36### install-data-hook : 
     37###     sed -e "s|nxprefix = .*|nxprefix = \'${prefix}\'|" < ${srcdir}/nxs.py > $(DESTDIR)${pkgpythondir}/nxs.py 
    3838 
    3939# python setup.py install --root=$(DESTDIR) 
Note: See TracChangeset for help on using the changeset viewer.