[SciPy-user] weave: how to give code to someone w/o compiler
prabhu at aero.iitb.ac.in
Mon Aug 7 14:22:11 CDT 2006
>>>>> "Sebastian" == Sebastian Haase <haase at msg.ucsf.edu> writes:
>> The types of the inputs are also taken into account.
Sebastian> Thanks for the info - what file do I need to distribute
Sebastian> along with .py file ? where do I find it ? and where
Sebastian> does it need to go ? Can I put a compiled file into the
Sebastian> same directory as my .py file !?
Sebastian> I just discovered (on my linux box)
You can make weave generate an extension module of your choosing.
Look at examples/fibonacci.py which builds a
fibonacci_ext.cpp/fibonacci_ext.so pair in the current directory.
More information about the SciPy-user