source: trunk/src/python/PyRpUnits_setup.py @ 27

Last change on this file since 27 was 21, checked in by dkearney, 19 years ago

created Makefile for compiling rappture libraries.
created README which starts to outline how to compile a rappture library
adjusted #include lines in most .h,.c,.cc files and added Include path

searched to the makefile.

files changed listed below:
M include/core/RpUnits.h
M include/core/RpDict.h
M include/cee/rappture_interface.h
A src/python/PyRpUnits_setup.py
M src/core/RpUnits.cc
M src/fortran/RpUnits_fortran.c
M src/fortran/rappture_fortran.c
M src/cee/rappture_interface.c
M src/cee/RpUnitsCInterface.cc
A src/README
A src/Makefile

File size: 521 bytes
Line 
1from distutils.core import setup, Extension
2
3module = Extension('RpUnits',
4                   include_dirs = [ '/usr/local/include',
5                                    '../../include/cee',
6                                    '../../include/core'],
7                   libraries = ['RpUnits'],
8                   library_dirs = ['../lib'],
9                   sources = ['src/PyRpUnits.cc'])
10
11setup(name="RpUnits",
12      version="0.1",
13      description="module for converting Rappture Units",
14      ext_modules=[module])
15
Note: See TracBrowser for help on using the repository browser.