Changeset 9519


Ignore:
Timestamp:
Jan 28, 2015, 9:08:04 AM (10 years ago)
Author:
steve
Message:

reove add_csv_header folder and update setup.py scripts

Location:
trunk/anuga_core/source/anuga
Files:
1 added
1 deleted
11 edited

Legend:

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

    r9517 r9519  
    55
    66from os.path import join
     7
     8def local_fun():
     9    pass
     10
    711
    812def configuration(parent_package='',top_path=None):
     
    1519    config.add_data_dir('test')
    1620
     21   
     22    if parent_package is '':
     23        anuga_dir = '..'
     24    else:
     25        anuga_dir = '.'
     26
     27    util_dir = join(anuga_dir,'utilities')
     28
    1729    print ('************************')
    1830    print (__file__)
    1931    print (parent_package)
    2032    print (top_path)
     33    print (anuga_dir)
     34    print (util_dir)
    2135    print ('************************')
    22    
    23     anuga_dir = os.path.abspath(join('..',os.path.dirname(__file__)))
    24     util_dir = join(anuga_dir,'utilities')
     36
     37
     38
    2539   
    2640    config.add_extension('neighbour_mesh_ext',
  • trunk/anuga_core/source/anuga/advection/setup.py

    r9514 r9519  
    1515    config.add_data_dir('test')
    1616
    17     util_dir = os.path.abspath('../utilities')
    18    
     17    if parent_package is '':
     18        anuga_dir = '..'
     19    else:
     20        anuga_dir = '.'
     21
     22    util_dir = join(anuga_dir,'utilities')
     23       
    1924    config.add_extension('advection_ext',
    2025                         sources=['advection_ext.c'],
  • trunk/anuga_core/source/anuga/alpha_shape/setup.py

    r9514 r9519  
    1515    config.add_data_dir('test')
    1616
    17     util_dir = os.path.abspath('../utilities')
    18    
    1917    return config
    2018   
  • trunk/anuga_core/source/anuga/caching/setup.py

    r9514 r9519  
    1515    config.add_data_dir('test')
    1616
    17     util_dir = os.path.abspath('../utilities')
    18    
    1917    return config
    2018   
  • trunk/anuga_core/source/anuga/culvert_flows/setup.py

    r9514 r9519  
    1515    config.add_data_dir('test')
    1616
    17     util_dir = os.path.abspath('../utilities')
    18    
    1917    return config
    2018   
  • trunk/anuga_core/source/anuga/damage_modelling/setup.py

    r9514 r9519  
    1515    config.add_data_dir('test')
    1616
    17     util_dir = os.path.abspath('../utilities')
    18    
    1917    return config
    2018   
  • trunk/anuga_core/source/anuga/file/setup.py

    r9514 r9519  
    1515    config.add_data_dir('test')
    1616
    17     util_dir = os.path.abspath('../utilities')
     17    if parent_package is '':
     18        anuga_dir = '..'
     19    else:
     20        anuga_dir = '.'
     21
     22    util_dir = join(anuga_dir,'utilities')
    1823   
    1924    config.add_extension('urs_ext',
  • trunk/anuga_core/source/anuga/fit_interpolate/setup.py

    r9514 r9519  
    1515    config.add_data_dir('test')
    1616
    17     util_dir = os.path.abspath('../utilities')
     17    if parent_package is '':
     18        anuga_dir = '..'
     19    else:
     20        anuga_dir = '.'
     21
     22    util_dir = join(anuga_dir,'utilities')
     23
     24
    1825    util_srcs = [join(util_dir,'quad_tree.c'),
    1926                 join(util_dir,'sparse_dok.c'),
     
    2734                         extra_link_args=['-fopenmp'])
    2835
    29     #config.add_extension('quad_tree_ext',
    30     #                     sources=['quad_tree_ext.c', 'quad_tree.c'])
    31    
    3236
    3337    return config
  • trunk/anuga_core/source/anuga/geometry/setup.py

    r9514 r9519  
    1515    config.add_data_dir('test')
    1616
    17     util_dir = os.path.abspath('../utilities')
     17    if parent_package is '':
     18        anuga_dir = '..'
     19    else:
     20        anuga_dir = '.'
     21
     22    util_dir = join(anuga_dir,'utilities')
    1823   
    1924    config.add_extension('polygon_ext',
  • trunk/anuga_core/source/anuga/pmesh/setup.py

    r9515 r9519  
    1111    from numpy.distutils.system_info import get_info
    1212   
    13     config = Configuration('alpha_shape', parent_package, top_path)
     13    config = Configuration('pmesh', parent_package, top_path)
    1414
    1515    config.add_data_dir('test')
     16    config.add_data_dir('icon')   
    1617
    1718    util_dir = os.path.abspath('../utilities')
  • trunk/anuga_core/source/anuga/setup.py

    r9517 r9519  
    1919    config.add_subpackage('file_conversion')
    2020    config.add_subpackage('fit_interpolate')
     21    """
    2122    config.add_subpackage('geometry')
    2223    config.add_subpackage('geospatial_data')
     
    3233    config.add_subpackage('utilities')
    3334    config.add_subpackage('validation_utilities')
    34     config.add_subpackage('visualiser')   
     35    config.add_subpackage('visualiser')
     36    """
     37     
    3538    config.make_config_py()
     39   
    3640    return config
    3741
Note: See TracChangeset for help on using the changeset viewer.