[Pyrex] Python 2.4 & Pyrex Compatibility Update

Brandon King kingb at caltech.edu
Wed Sep 14 01:36:29 CEST 2005


Hello? Anyone? Please, I'd really like an answer to this thread.

Brandon King wrote:

>That would be great if that patch was included in a 0.9.3.1 release on
>the website. Is that going to happen? Is there any reason why it shouldn't?
>
>-Brandon
>
>Charles Moad wrote:
>
>  
>
>>    Most all of the linux distro's are pushing a 0.9.3-1 release that
>>have this patch.  I personally think this problem justifies a 0.9.3.1
>>(or whatever) release on the pyrex page since it has been asked about
>>so many times on the mailing list.
>>
>>- Charlie
>>
>>Brandon King wrote:
>>
>>    
>>
>>>Any thoughts? Anyone?
>>>
>>>Brandon King wrote:
>>>
>>>
>>>      
>>>
>>>>This e-mail seems as though it didn't make it on to pyrex mailing list,
>>>>so I'm forwarding it.
>>>>
>>>>-Brandon King
>>>>
>>>>Joseph C Roden wrote:
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>On Wed Jul 20 23:54:15 CEST 2005, Brandon King wrote:
>>>>>
>>>>> 
>>>>>
>>>>>          
>>>>>
>>>>>>>  I was wondering what the status is on Pyrex compatibility with
>>>>>>>Python 2.4? I kept having trouble getting 'python2.4 setup.py 
>>>>>>>install'
>>>>>>>to work with a package that tries to build a .pyx file. Is this
>>>>>>>still a
>>>>>>>problem?
>>>>>>>     
>>>>>>>              
>>>>>>>
>>>>>On Thu Jul 21 02:02:26 CEST 2005, Grant McDonald wrote:
>>>>>
>>>>> 
>>>>>
>>>>>          
>>>>>
>>>>>>I don't have any problems using the following setup.py with python
>>>>>>2.4.1:
>>>>>>
>>>>>># setup.py
>>>>>>import distutils
>>>>>>            
>>>>>>
>>>>>          
>>>>>
>>>>>>from distutils.core import setup, Extension
>>>>>>            
>>>>>>
>>>>>          
>>>>>
>>>>>>import os,sys
>>>>>>
>>>>>>os.system("python C:\Python24\Scripts\pyrexc.py vm8.pyx")
>>>>>>
>>>>>>setup(name = "Version Manager 8 DTK Interface",
>>>>>>
>>>>>> (...snip...)
>>>>>>
>>>>>>Can you send the setup.py that is giving you a problem?
>>>>>>   
>>>>>>            
>>>>>>
>>>>>The above solution is one workaround that I've seen people suggest,
>>>>>i.e. manually executing pyrexc.py on your pyrex modules prior to
>>>>>calling setup.  I've seen Brandon's setup.py and it does not call
>>>>>pyrexc
>>>>>explicitly, but lets distutils do that work, which gets tripped up
>>>>>on a
>>>>>build_ext.swig_sources argument mismatch.
>>>>>
>>>>>I found that an earlier post directly discussed this problem and
>>>>>offered
>>>>>a patch that solves Brandon's setup.py problem.
>>>>>
>>>>>On 29 Dec 2004 at 3:12, Bob Ippolito wrote:
>>>>>
>>>>> 
>>>>>
>>>>>          
>>>>>
>>>>>>Python 2.4's distutils changed the call signature of
>>>>>>build_ext.swig_sources to include an extra extension argument.
>>>>>>   
>>>>>>            
>>>>>>
>>>>>For full details of the earlier posting, including John's (sjmachin's)
>>>>>suggested patch, see:
>>>>>
>>>>>http://lists.copyleft.no/pipermail/pyrex/2004-December/001084.html
>>>>>
>>>>>I wanted to run the test suite to confirm that the patch works more
>>>>>generally (I assume it does), but I got tripped up on the Mac OS X
>>>>>FSCatalogInfo.finderInfo and _Filemodule.c issue, so I could not run
>>>>>the tests.
>>>>>
>>>>>Nonetheless, if the patch is working as it seems it is, I hope it
>>>>>will be
>>>>>added to the next distribution.  When might that be available?  I've
>>>>>heard people suggest that others wait to upgrade to Python 2.4
>>>>>because Pyrex is "not compatible" with Python 2.4.  Now at least
>>>>>we know this issue can be resolved with a tiny patch.
>>>>>
>>>>>Joe
>>>>>
>>>>>
>>>>>
>>>>> 
>>>>>          
>>>>>
>>>>
>>>>_______________________________________________
>>>>Pyrex mailing list
>>>>Pyrex at lists.copyleft.no
>>>>http://lists.copyleft.no/mailman/listinfo/pyrex
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>
>>>_______________________________________________
>>>Pyrex mailing list
>>>Pyrex at lists.copyleft.no
>>>http://lists.copyleft.no/mailman/listinfo/pyrex
>>>      
>>>
>>
>>    
>>
>
>
>_______________________________________________
>Pyrex mailing list
>Pyrex at lists.copyleft.no
>http://lists.copyleft.no/mailman/listinfo/pyrex
>
>
>  
>




More information about the Pyrex mailing list