Changeset 5138


Ignore:
Timestamp:
Mar 7, 2008, 4:29:05 PM (16 years ago)
Author:
jack
Message:

Python 2.5 on Windows uses .pyd to identify extension modules, not .dll. Updated compile.py to produce correctly named files on such systems.

File:
1 edited

Legend:

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

    r5133 r5138  
    130130      sharedflag = 'shared'
    131131     
    132     libext = 'dll'
     132    # As of python2.5, .pyd is the extension for python extension
     133    # modules.
     134    if sys.version_info[0:2] >= (2, 5):
     135      libext = 'pyd'
     136    else:
     137      libext = 'dll'
    133138
    134139    libs, is_found = set_python_dll_path()
Note: See TracChangeset for help on using the changeset viewer.