Ignore:
Timestamp:
Sep 12, 2006, 2:54:29 PM (17 years ago)
Author:
ole
Message:

Renamed pyvolution to abstract_2d_finite_volumes. This is
one step towards pulling pyvolution apart. More to follow.
All unit tests pass and most examples fixed up.




File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/compile.py

    r3526 r3560  
    193193  # This is hacky since it
    194194  # assumes the location of the compile_all that determines buildroot
    195   utilities_include_dir = buildroot + os.sep + "source" + os.sep + "anuga" \
    196                           + os.sep + 'utilities' 
     195  try:
     196    utilities_include_dir = buildroot + os.sep + "source" + os.sep + "anuga" \
     197                            + os.sep + 'utilities'
     198  except:
     199    # This will make compile work locally
     200    utilities_include_dir = '.'
     201
     202
     203   
    197204  try:
    198205    os.stat(utilities_include_dir)
     
    295302            print '------- Trying to compile c-extension %s' %filename
    296303
    297             #compile(filename)       
     304            compile(filename)       
    298305            try:
    299306                compile(filename)
     
    357364                %(filename, os.getcwd())
    358365
     366          compile(filename)         
    359367          try:
    360368              compile(filename)
Note: See TracChangeset for help on using the changeset viewer.