If you want to make your web2py application completely portable on
Linux, Mac OS X and FreeBSD you can use StaticPython:

http://code.google.com/p/pts-mini-gpl/wiki/StaticPython

>From the homepage:

"StaticPython is a statically linked version of the Python 2.x
(currently 2.7.1) and 3.x (currently 3.2) and Stackless Python
interpreters and their standard modules for 32-bit (i686, i386, x86)
Linux, Mac OS X and FreeBSD systems. It is distributed as single,
statically linked 32-bit executable binaries, which contains the
Python scripting engine, the interactive interpreter with command
editing (readline), the Python debugger (pdb), most standard Python
modules (including pure Python modules and C extensions), coroutine
support using greenlet and multithreading support. The binary contains
both the pure Python modules and the C extensions, so no additional
.py or .so files are needed to run it. It also works in a chroot
environment. The binary uses uClibc, so it supports username lookups
and DNS lookups as well (without NSS). "

I tested it and it works like a charm!

-- 
Profile: http://www.gild.com/compagnucciangelo
Register on Gild: http://www.gild.com/referral/compagnucciangelo

Reply via email to