--- scipy/stsci/image/setup.py.orig 1970-01-01 01:00:00.000000000 +0100 +++ scipy/stsci/image/setup.py 2007-02-07 01:20:26.000000000 +0000 @@ -0,0 +1,22 @@ +#!/usr/bin/env python +import numpy + +def configuration(parent_package='',top_path=None): + from numpy.distutils.misc_util import Configuration + config = Configuration('image',parent_package,top_path, + package_path='lib') + config.add_extension('_combine', + sources=["src/_combinemodule.c"], + define_macros = [('NUMPY', '1')], + include_dirs = [numpy.get_numarray_include()]) + return config + +if __name__ == "__main__": + from numpy.distutils.core import setup + config = configuration(top_path='').todict() + setup(author='Todd Miller', + author_email = 'help@stsci.edu', + description = 'image array manipulation functions', + version = '2.0', + **config) + --- scipy/stsci/convolve/setup.py.orig 1970-01-01 01:00:00.000000000 +0100 +++ scipy/stsci/convolve/setup.py 2007-03-14 16:52:59.000000000 +0000 @@ -0,0 +1,27 @@ +#!/usr/bin/env python +import numpy + +def configuration(parent_package='',top_path=None): + from numpy.distutils.misc_util import Configuration + config = Configuration('convolve',parent_package,top_path, + package_path='lib') + + config.add_extension('_correlate', + sources=["src/_correlatemodule.c"], + define_macros = [('NUMPY', '1')], + include_dirs = [numpy.get_numarray_include()]) + config.add_extension('_lineshape', + sources=["src/_lineshapemodule.c"], + define_macros = [('NUMPY', '1')], + include_dirs = [numpy.get_numarray_include()]) + return config + +if __name__ == "__main__": + from numpy.distutils.core import setup + config = configuration(top_path='').todict() + setup(author='Todd Miller', + author_email = 'help@stsci.edu', + description = 'image array convolution functions', + version = '2.0', + **config) +