Nicolas Dumazet wrote:
> 2009/3/31 Lisandro Dalcin <[email protected]>:
>> So setup.py should not do a lot of work. We have two ways to make this 
>> possible.
>>
>> 1) push your patch, but let future Cython releases zip/tarballs ship C 
>> sources.
>> 2) implement this the right way, more or less in the spirit of
>> numpy.distutils build_src command.
> 
> For other readers, source is here :
> http://projects.scipy.org/numpy/browser/trunk/numpy/distutils/command/build_src.py
> 
>> Just to be clear, I'm +1 on your patch. However, I wanted to point out
>> that this still is not the definitive solution.
> 
> And I couldn't agree more with you.
> 
> I looked at ways to avoid the extra setup.py work, it seems there's no
> "easy way" here.

 From what I hear, the usual opinion is that distutils is messed up 
beyond redemption for anything but simple Python package installation 
anyway and if one is serious about approaching optimal incremental 
builds, one should just switch to another tool; sooner rather than later.

David Cournapeau knows a lot more about this, as he's working on 
numscons: SCons builds for NumPy. Perhaps we should ship a Cython plugin 
to e.g. SCons...David, do you know of any?

-- 
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to