Changeset 568 for python


Ignore:
Timestamp:
Apr 7, 2015, 1:38:52 PM (10 years ago)
Author:
Yuri Dario
Message:

python: build mmap module, by psmedley. clean also binaries.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Makefile.pre.in

    r401 r568  
    12921292clean: pycremoval
    12931293        find . -name '*.[oa]' -exec rm -f {} ';'
     1294        find . -name '*.exe' -exec rm -f {} ';'
     1295        find . -name '*.dll' -exec rm -f {} ';'
     1296        find . -name '*.pyd' -exec rm -f {} ';'
    12941297        find . -name '*.s[ol]' -exec rm -f {} ';'
    12951298        find . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
  • python/trunk/setup.py

    r393 r568  
    672672
    673673        # Memory-mapped files (also works on Win32).
    674         if host_platform not in ['atheos', 'os2knix']:
     674        if host_platform in ['os2knix']:
     675            exts.append( Extension('mmap', ['mmapmodule.c'], libraries=['mmap']) )
     676        elif host_platform not in ['atheos']:
    675677            exts.append( Extension('mmap', ['mmapmodule.c']) )
    676678        else:
Note: See TracChangeset for help on using the changeset viewer.