
def configuration(parent_package='',top_path=None):
    from numpy.distutils.misc_util import Configuration

    config = Configuration('signal', parent_package, top_path)

    config.add_data_dir('tests')

    config.add_extension('sigtools',
                         sources=['sigtoolsmodule.c',
                                  'firfilter.c','medianfilter.c'],
                         depends = ['sigtools.h']
    )

    config.add_extension('spline',
        sources = ['splinemodule.c','S_bspline_util.c','D_bspline_util.c',
                   'C_bspline_util.c','Z_bspline_util.c','bspline_util.c'],
    )

    return config

if __name__ == '__main__':
    from numpy.distutils.core import setup
    setup(**configuration(top_path='').todict())


def configuration(parent_package='',top_path=None):
    from numpy.distutils.misc_util import Configuration

    config = Configuration('signal', parent_package, top_path)

    config.add_data_dir('tests')

    config.add_extension('sigtools',
                         sources=['sigtoolsmodule.c',
                                  'firfilter.c','medianfilter.c'],
                         depends = ['sigtools.h', 'newsig.c']
    )

    config.add_extension('spline',
        sources = ['splinemodule.c','S_bspline_util.c','D_bspline_util.c',
                   'C_bspline_util.c','Z_bspline_util.c','bspline_util.c'],
    )

    return config

if __name__ == '__main__':
    from numpy.distutils.core import setup
    setup(**configuration(top_path='').todict())

Add newsig.c as a dependency to sigtools module.
Add newsig.c as a dependency to sigtools module.

git-svn-id: 003f22d385e25de9cff933a5ea4efd77cb5e7b28@5176 d6536bca-fef9-0310-8506-e4c0a848fbcf

  
  def configuration(parent_package='',top_path=None):
      from numpy.distutils.misc_util import Configuration
  
      config = Configuration('signal', parent_package, top_path)
  
      config.add_data_dir('tests')
  
      config.add_extension('sigtools',
                           sources=['sigtoolsmodule.c',
                                    'firfilter.c','medianfilter.c'],
-                          depends = ['sigtools.h']
+                          depends = ['sigtools.h', 'newsig.c']
      )
  
      config.add_extension('spline',
          sources = ['splinemodule.c','S_bspline_util.c','D_bspline_util.c',
                     'C_bspline_util.c','Z_bspline_util.c','bspline_util.c'],
      )
  
      return config
  
  if __name__ == '__main__':
      from numpy.distutils.core import setup
      setup(**configuration(top_path='').todict())
  
Add newsig.c as a dependency to sigtools module.
## Code Before:

def configuration(parent_package='',top_path=None):
    from numpy.distutils.misc_util import Configuration

    config = Configuration('signal', parent_package, top_path)

    config.add_data_dir('tests')

    config.add_extension('sigtools',
                         sources=['sigtoolsmodule.c',
                                  'firfilter.c','medianfilter.c'],
                         depends = ['sigtools.h']
    )

    config.add_extension('spline',
        sources = ['splinemodule.c','S_bspline_util.c','D_bspline_util.c',
                   'C_bspline_util.c','Z_bspline_util.c','bspline_util.c'],
    )

    return config

if __name__ == '__main__':
    from numpy.distutils.core import setup
    setup(**configuration(top_path='').todict())

## Instruction:
Add newsig.c as a dependency to sigtools module.
## Code After:

def configuration(parent_package='',top_path=None):
    from numpy.distutils.misc_util import Configuration

    config = Configuration('signal', parent_package, top_path)

    config.add_data_dir('tests')

    config.add_extension('sigtools',
                         sources=['sigtoolsmodule.c',
                                  'firfilter.c','medianfilter.c'],
                         depends = ['sigtools.h', 'newsig.c']
    )

    config.add_extension('spline',
        sources = ['splinemodule.c','S_bspline_util.c','D_bspline_util.c',
                   'C_bspline_util.c','Z_bspline_util.c','bspline_util.c'],
    )

    return config

if __name__ == '__main__':
    from numpy.distutils.core import setup
    setup(**configuration(top_path='').todict())
