Ignore:
Timestamp:
Oct 5, 2005 1:21:24 PM (17 years ago)
Author:
dkearney
Message:
  1. added "install" target to make file for copying files over to /opt/rappture
  2. added targets for python to build and install the units module
  3. added fortran stub functions for library and units.

RpLibraryF_test.f compiles, just with warnings, because i'm still working on it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python/setup.py

    r71 r84  
    11from distutils.core import setup, Extension
    22
    3 # need to write an if statement to check to see if the libRpUnits exists
    4 # if lib exists, then use the lib to compile against.
    5 # else compile everything from source.
    6 #
    7 #module = Extension('RpUnits',
    8 #                   include_dirs = [ '/usr/local/include',
    9 #                                    '../../include/cee',
    10 #                                    '../../include/core'],
    11 #                   libraries = ['RpUnits'],
    12 #                   library_dirs = ['../lib'],
    13 #                   sources = [  'PyRpUnits.cc' ])
    14 
    153module = Extension('Rappture.Units',
    16                    include_dirs = [ '../../include/cee',
    17                                     '../../include/core'],
    18                    sources = [  '../core/RpUnitsStd.cc',
    19                                 '../core/RpUnits.cc',
    20                                 'PyRpUnits.cc' ])
     4                   include_dirs = [ '../include/cee',
     5                                    '../include/core'],
     6                   sources = [  'core/RpUnitsStd.cc',
     7                                'core/RpUnits.cc',
     8                                'python/PyRpUnits.cc' ])
    219
    2210setup(name="Rappture.Units",
Note: See TracChangeset for help on using the changeset viewer.