Changeset 9665 for trunk/anuga_core/anuga/__init__.py
- Timestamp:
- Feb 11, 2015, 3:26:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/anuga/__init__.py
r9664 r9665 79 79 import os 80 80 if sys.platform == 'win32': 81 82 83 84 85 86 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 89 89 if not MinGW: 90 90 (folder, tail) = os.path.split(__file__)
Note: See TracChangeset
for help on using the changeset viewer.