source: anuga_core/source/pymetis/pymetis/setup.py @ 6982

Last change on this file since 6982 was 2051, checked in by jack, 19 years ago

Python interface to metis. Currently provides only the
METIS_PartMeshNodal function, since that is what is currently needed for partitioning.
Module name is metis.

File size: 486 bytes
Line 
1from distutils.core import setup, Extension;
2import os;
3
4metis = Extension('metis',
5                  sources = ['metis.c', 'metis_bridge.c'],
6                  include_dirs = ['..' + os.sep + os.environ['METIS_DIR'] + os.sep + 'Lib'],
7                  libraries = ['metis', 'm'],
8                  library_dirs = ['..' + os.sep + os.environ['METIS_DIR']]);
9
10setup(name = 'PyMetis',
11      version = '1.0',
12      description = 'Python interface to metis',
13      ext_modules = [metis]);
Note: See TracBrowser for help on using the repository browser.