Ignore:
Timestamp:
Feb 11, 2015, 3:26:44 PM (10 years ago)
Author:
steve
Message:

Checkedtha that anuga works on linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/anuga/__init__.py

    r9664 r9665  
    7979    import os
    8080    if sys.platform == 'win32':
    81                 MinGW = False
    82                 import subprocess
    83                 try:
    84                         output = subprocess.check_output('gcc -dumpmachine', shell=True)
    85                         MinGW = 'mingw' in output
    86                 except Exception as e:
    87                         pass           
    88                
     81        MinGW = False
     82        import subprocess
     83        try:
     84            output = subprocess.check_output('gcc -dumpmachine', shell=True)
     85            MinGW = 'mingw' in output
     86        except Exception as e:
     87            pass
     88       
    8989        if not MinGW:
    9090            (folder, tail) = os.path.split(__file__)
Note: See TracChangeset for help on using the changeset viewer.