[mod_python] Suggestion: libpython.so

Michael C. Neel neel at mediapulse.com
Thu May 27 14:32:25 EDT 2004


I'd be curious to see what, if any, performance changes this would
result in.  A shame you can't timeit.py /usr/bin/apache =p

Mike

On Thu, 2004-05-27 at 10:07, David Fraser wrote:

> Damjan wrote:
> 
> >Recent python installations (I think from 2.3) by default build a
> >dynamic libpython library. 
> >
> >I think mod_python should have a ./configure
> >option to use the dynamic library instead of the static library archive.
> >
> >The only change is that "-L/usr/lib/python2.3/config" should be
> >removed from the LDFLAGS in src/Makefile. This way two things are
> >gained, mod_python.so is 100k instead of 1.3M, and minor upgrades to
> >python would also upgrade mod_python.
> >  
> >
> Note that this is what happens on windows.
> I am currently working on improving the setup.py script so it can build 
> the extension on Unix as well as Windows.
> Not everyone may want to do it like this... since apxs is nice. But it 
> seems to work fine.
> I might try and include an option to use the dynamic library...
> 
> David
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

__________________________________ 

michael.neel at mediapulse.com
vice president of information systems
865.675.4455 x30
800.380.4514

www.mediapulse.com
__________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://modpython.org/pipermail/mod_python/attachments/20040527/fc58c369/attachment.html


More information about the Mod_python mailing list