2
def configuration(parent_package='',top_path=None):
3
from numpy.distutils.misc_util import Configuration
4
config = Configuration('buildgrid',parent_package,top_path,
6
description='Build grid from scattered '\
8
author='Eugene Druker',
9
author_email='eugene.druker@gmail.com')
11
config.add_extension('build_grid',
12
sources = ['build_grid.c'])
13
config.add_data_files('README')
16
if __name__ == "__main__":
17
from numpy.distutils.core import setup
18
config = configuration(top_path='').todict()