source: trunk/anuga_core/source/anuga/geometry/setup.py @ 9516

Last change on this file since 9516 was 9514, checked in by steve, 10 years ago

Adding in setup.py files for each anuga sub module

File size: 698 bytes
Line 
1from __future__ import division, print_function
2
3import os
4import sys
5
6from os.path import join
7
8def configuration(parent_package='',top_path=None):
9   
10    from numpy.distutils.misc_util import Configuration
11    from numpy.distutils.system_info import get_info
12   
13    config = Configuration('geometry', parent_package, top_path)
14
15    config.add_data_dir('test')
16
17    util_dir = os.path.abspath('../utilities')
18   
19    config.add_extension('polygon_ext',
20                         sources=['polygon_ext.c'],
21                         include_dirs=[util_dir])
22   
23    return config
24   
25if __name__ == '__main__':
26    from numpy.distutils.core import setup
27    setup(configuration=configuration)
Note: See TracBrowser for help on using the repository browser.