Changeset 376 for pyyaml/trunk/setup.py


Ignore:
Timestamp:
05/29/11 12:13:17 (4 years ago)
Author:
xi
Message:

Do not attempt to build extensions on platforms other than CPython.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/setup.py

    r364 r376  
    123123 
    124124    def ext_status(self, ext): 
     125        if 'Java' in sys.version or 'IronPython' in sys.version or 'PyPy' in sys.version: 
     126            return False 
    125127        if isinstance(ext, Extension): 
    126128            with_ext = getattr(self, ext.attr_name) 
Note: See TracChangeset for help on using the changeset viewer.