Changeset 787


Ignore:
Timestamp:
Jul 26, 2007 11:16:30 PM (14 years ago)
Author:
dkearney
Message:

adding new !Library.cc which replaces library.py and result.py as python bindings to the c++ core rappture library module. The module is named !Rappture.Library.

Location:
trunk/python
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/Rappture/__init__.py

    r671 r787  
    88import Units
    99import Utils
     10import Library
    1011import encoding
  • trunk/python/Rappture/result.py

    r115 r787  
    2020    """
    2121
     22    lib.put("tool.version.rappture.language", "python");
    2223    runfile = 'run%d.xml' % time.time()
    2324    fp = open(runfile,'w')
  • trunk/python/setup.py.in

    r718 r787  
    22
    33rp_install_dir = '@prefix@'
     4
     5library_module = Extension('Rappture.Library',
     6                   include_dirs = [rp_install_dir+'/include', '../include'],
     7                   sources = [ 'Rappture/Library.cc' ],
     8                   library_dirs = [ rp_install_dir+'/lib', '../src' ],
     9                   libraries = [ 'rappture' ] )
    410
    511units_module = Extension('Rappture.Units',
     
    3339                     'Rappture.result'],
    3440        ext_modules=[   encode_module,
     41                        library_module,
    3542                        units_module,
    3643                        utils_module    ]
Note: See TracChangeset for help on using the changeset viewer.