Changeset 9515


Ignore:
Timestamp:
Jan 27, 2015, 10:58:35 PM (10 years ago)
Author:
steve
Message:

Added more setup.py files

Location:
trunk/anuga_core/source/anuga
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/pmesh/setup.py

    r349 r9515  
    1 #!/usr/bin/env python
     1from __future__ import division, print_function
    22
    3 from distutils.core import setup, Extension
     3import os
     4import sys
    45
    5 setup (name = "pMesh",
    6        version = "1.XX",
    7        author="Duncan Gray",
    8        author_email="duncan.gray@ga.gov.au",
    9        ext_modules = [
    10                       Extension("triang",["triangle/triangle.c",
    11                                           "triangle/triangmodule.c"],
    12                                 define_macros=[("TRILIBRARY",1),
    13                                                ("NO_TIMER",1)]
    14                                 )           
    15                      
    16                       ]
    17        )
     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('alpha_shape', parent_package, top_path)
     14
     15    config.add_data_dir('test')
     16
     17    util_dir = os.path.abspath('../utilities')
     18   
     19    return config
     20   
     21if __name__ == '__main__':
     22    from numpy.distutils.core import setup
     23    setup(configuration=configuration)
Note: See TracChangeset for help on using the changeset viewer.