[Pyrex] New Distutils implementation for Pyrex.

Billy G. Allie bill.allie at defiant.mug.org
Fri Aug 10 06:56:28 CEST 2007


Greg Ewing wrote:
> Billy G. Allie wrote:
>   
>> It's independent.  What I did was modified the Python 2.4.x distutils to 
>> add the pyrex support, then created created diffs of the changes.
>>     
>
> Is your version upward-compatible with the existing
> Pyrex distutils extension? Could I just drop it in
> and have people's existing setup.py files continue
> to work?
>
> --
> Greg
>
> _______________________________________________
> Pyrex mailing list
> Pyrex at lists.copyleft.no
> http://lists.copyleft.no/mailman/listinfo/pyrex
>   
Greg,

I am attaching a new extension.py, build_ext.py, and __init__.py that is 
upward compatible with the existing Distutils. You can drop this in and 
have people's existing setup.py files continue to work. You would only 
need to import extension.py if you wanted to specify one or more of the 
options (pyrex_include_dirs, pyrex_cplus, or pyrex_create_listing) in 
the extension objext(s) defined in setup.py.

Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.copyleft.no/pipermail/pyrex/attachments/20070810/49fa4d53/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_ext.py
Type: text/x-python
Size: 6215 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20070810/49fa4d53/attachment-0003.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extension.py
Type: text/x-python
Size: 2386 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20070810/49fa4d53/attachment-0004.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: __init__.py
Type: text/x-python
Size: 393 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20070810/49fa4d53/attachment-0005.py 


More information about the Pyrex mailing list